/* GMS Creativo Store 1.7.2: exact requested account and receipt refinements. */
/* Four native WC summary cells remain at the top. Actions occupy the bottom row
   and retain the native links and permission checks. */
body.gms-account-orders .gms-store.gms-account .woocommerce-orders-table tbody tr {
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:auto auto!important;
    align-items:center!important;
    column-gap:18px!important;
    row-gap:15px!important;
    padding:19px 22px!important;
}
body.gms-account-orders .gms-store.gms-account .woocommerce-orders-table tbody td.woocommerce-orders-table__cell--order-actions {
    display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
    align-items:center!important;justify-content:flex-start!important;
    justify-self:stretch!important;grid-column:1/-1!important;grid-row:2!important;
    width:100%!important;max-width:none!important;gap:8px!important;
    padding:13px 0 0!important;margin:0!important;
    border:0!important;border-top:1px solid #eeebf2!important;
    background:transparent!important;white-space:normal!important;
}
body.gms-account-orders .gms-store.gms-account .woocommerce-orders-table tbody td.woocommerce-orders-table__cell--order-actions::before {
    display:none!important;content:none!important;
}
body.gms-account-orders .gms-store.gms-account .woocommerce-orders-table tbody td.woocommerce-orders-table__cell--order-actions a.button,
body.gms-account-orders .gms-store.gms-account .woocommerce-orders-table tbody td.woocommerce-orders-table__cell--order-actions a.woocommerce-button {
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    width:auto!important;min-height:33px!important;min-width:62px!important;
    padding:7px 14px!important;margin:0!important;border-radius:7px!important;
    background:#faf9fc!important;background-image:none!important;
    color:#61546b!important;border:1px solid #e3dce9!important;
    box-shadow:none!important;text-shadow:none!important;
    font-family:inherit!important;font-size:11.5px!important;font-weight:500!important;line-height:1.25!important;text-decoration:none!important;
    transition:none!important;transform:none!important;
}
body.gms-account-orders .gms-store.gms-account .woocommerce-orders-table tbody td.woocommerce-orders-table__cell--order-actions a.button:hover,
body.gms-account-orders .gms-store.gms-account .woocommerce-orders-table tbody td.woocommerce-orders-table__cell--order-actions a.button:active,
body.gms-account-orders .gms-store.gms-account .woocommerce-orders-table tbody td.woocommerce-orders-table__cell--order-actions a.button:focus,
body.gms-account-orders .gms-store.gms-account .woocommerce-orders-table tbody td.woocommerce-orders-table__cell--order-actions a.woocommerce-button:hover,
body.gms-account-orders .gms-store.gms-account .woocommerce-orders-table tbody td.woocommerce-orders-table__cell--order-actions a.woocommerce-button:focus {
    background:#faf9fc!important;background-image:none!important;
    border-color:#e3dce9!important;color:#61546b!important;
    box-shadow:none!important;transform:none!important;
}
body.gms-account-orders .gms-store.gms-account .woocommerce-orders-table tbody td.woocommerce-orders-table__cell--order-actions a:focus-visible {outline:2px solid #8b7a9c!important;outline-offset:2px}
@media(max-width:720px) {
    body.gms-account-orders .gms-store.gms-account .woocommerce-orders-table tbody tr {grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:auto auto auto!important}
    body.gms-account-orders .gms-store.gms-account .woocommerce-orders-table tbody td.woocommerce-orders-table__cell--order-actions {grid-row:3!important;justify-content:flex-start!important}
}
@media(max-width:400px) {
    body.gms-account-orders .gms-store.gms-account .woocommerce-orders-table tbody td.woocommerce-orders-table__cell--order-actions a.button,
    body.gms-account-orders .gms-store.gms-account .woocommerce-orders-table tbody td.woocommerce-orders-table__cell--order-actions a.woocommerce-button {padding:7px 9px!important;min-width:0!important}
}
/* Green is reserved for a successfully received order; pending/failed/revoked
   states remain neutral to avoid misrepresenting payment status. */
.gms-store .gms-order-confirmation--success .gms-confirmation-symbol {
    background:#21824b!important;border-color:#21824b!important;color:#fff!important;
}
.gms-store .gms-order-status--success {
    background:#21824b!important;color:#fff!important;border-color:#21824b!important;
}
/* License content uses the same restrained cards as the order overview. */
.gms-store .gms-order-licenses{grid-column:1/-1;margin:0;min-width:0;padding:24px 26px;background:#fff;border:1px solid #e7e5ed;border-radius:14px;box-shadow:0 8px 28px #09002704}
.gms-store .gms-order-licenses-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:21px}
.gms-store .gms-order-licenses-kicker{display:block;font-size:10px;letter-spacing:.08em;font-weight:600;color:#836b90;margin-bottom:7px}
.gms-store .gms-order-licenses-head h2{margin:0 0 7px;font-size:23px;line-height:1.3;color:#301f4f}
.gms-store .gms-order-licenses-head p{margin:0!important;color:#756981;font-size:12.5px;line-height:1.65}
.gms-store .gms-order-licenses-link{border:1px solid #ded7e5;border-radius:8px;color:#55466a!important;background:#faf9fc;padding:10px 13px;font-size:12px;text-decoration:none;white-space:nowrap}
.gms-store .gms-order-license-list{display:grid;gap:13px}
.gms-store .gms-order-license-card{border:1px solid #e9e5ed;background:#fbfafc;border-radius:11px;padding:20px;min-width:0}
.gms-store .gms-order-license-top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:15px}
.gms-store .gms-order-license-top h3{font-size:16px;line-height:1.35;margin:0;color:#301f4f}
.gms-store .gms-order-license-state{border-radius:30px;background:#eeeaf2;color:#655870;padding:5px 11px;font-size:11px;font-weight:600}
.gms-store .gms-order-license-state--active{color:#236e44;background:#e4f3e9}
.gms-store .gms-order-license-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 22px}
.gms-store .gms-order-license-field{min-width:0}
.gms-store .gms-order-license-field>span,.gms-store .gms-order-license-field>label{display:block;font-size:11px;color:#81758a;margin-bottom:7px}
.gms-store .gms-order-license-field>strong{font-size:13px;font-weight:600;color:#301f4f}
.gms-store .gms-order-license-key-field{grid-column:1/-1}
.gms-store .gms-order-license-key-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.gms-store .gms-order-license-key{display:block;flex:1 1 260px;min-width:0;overflow-wrap:anywhere;padding:13px 15px;background:#fff;border:1px solid #e6dfea;border-radius:8px;font:500 12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;color:#301f4f}
.gms-store .gms-order-license-key-row button{display:inline-flex;justify-content:center;align-items:center;padding:9px 14px;min-height:40px;border:1px solid #ded7e5;border-radius:8px;background:#fff;color:#55466a;font-family:inherit;font-weight:500;font-size:12px;line-height:1.4;box-shadow:none;cursor:pointer}
.gms-store .gms-order-license-key-row button:hover{color:#55466a;background:#fff;border-color:#ded7e5;box-shadow:none}
.gms-store .gms-order-license-key-row button:focus-visible{outline:2px solid #827094;outline-offset:2px}
.gms-store .gms-order-license-key-row button:disabled{opacity:.5;cursor:not-allowed}
.gms-store .gms-order-license-message{margin:10px 0 0!important;font-size:12px;color:#55466a}
@media(max-width:650px) {
    .gms-store .gms-order-licenses{padding:20px 17px}
    .gms-store .gms-order-licenses-head{align-items:flex-start;flex-direction:column}
    .gms-store .gms-order-license-grid{grid-template-columns:1fr}
    .gms-store .gms-order-license-key-field{grid-column:1}
    .gms-store .gms-order-license-key{flex-basis:100%}
}
