section.register-section-main{
    /*padding: 30px 15px !important;*/
}
.site-footer{
    /*margin-top: 0 !important;*/
}

/* ── Web Alert / Toast System ── */
.web-toast-container,
.web-flash-stack {
    position: fixed;
    top: 82px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    width: calc(100% - 40px);
    pointer-events: none;
}

.web-flash-stack {
    right: 20px;
}

.web-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 38px 14px 16px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 4px solid;
    font-family: 'Glacial Indifference', sans-serif;
    animation: webToastIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    position: relative;
    overflow: hidden;
}

.web-toast--success {
    border-left-color: #5a8f72;
    background: linear-gradient(135deg, #f4faf7 0%, #ffffff 55%);
}
.web-toast--error {
    border-left-color: #d64545;
    background: linear-gradient(135deg, #fff6f6 0%, #ffffff 55%);
}
.web-toast--warning {
    border-left-color: #c9a227;
    background: linear-gradient(135deg, #fffdf3 0%, #ffffff 55%);
}
.web-toast--info {
    border-left-color: #4a7c9b;
    background: linear-gradient(135deg, #f3f8fb 0%, #ffffff 55%);
}

.web-toast__icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-top: 1px;
}
.web-toast--success .web-toast__icon { background: rgba(161, 190, 176, 0.35); color: #3d6b55; }
.web-toast--error .web-toast__icon { background: rgba(214, 69, 69, 0.12); color: #c0392b; }
.web-toast--warning .web-toast__icon { background: rgba(201, 162, 39, 0.15); color: #9a7b0a; }
.web-toast--info .web-toast__icon { background: rgba(74, 124, 155, 0.12); color: #2d5f7a; }

.web-toast__body {
    flex: 1;
    min-width: 0;
}
.web-toast__title {
    font-weight: 700;
    font-size: 14px;
    color: #222;
    margin-bottom: 2px;
    letter-spacing: 0.02em;
}
.web-toast__message {
    font-size: 13px;
    color: #555;
    line-height: 1.45;
    word-break: break-word;
}

.web-toast__close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
.web-toast__close:hover {
    color: #333;
    background: rgba(0, 0, 0, 0.05);
}

.web-toast__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    transform-origin: left;
    animation: webToastProgress linear forwards;
}
.web-toast--success .web-toast__progress { background: linear-gradient(90deg, #a1beb0, #c7d5a1); }
.web-toast--error .web-toast__progress { background: linear-gradient(90deg, #e57373, #d64545); }
.web-toast--warning .web-toast__progress { background: linear-gradient(90deg, #e6c84a, #c9a227); }
.web-toast--info .web-toast__progress { background: linear-gradient(90deg, #6ba3c4, #4a7c9b); }

.web-toast--leaving {
    animation: webToastOut 0.3s ease forwards;
}

@keyframes webToastIn {
    from { opacity: 0; transform: translateX(50px) scale(0.96); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes webToastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(50px); }
}
@keyframes webToastProgress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

@media (max-width: 576px) {
    .web-toast-container,
    .web-flash-stack {
        top: 70px;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: none;
    }
}

/* Compare product actions */
.compare-action-btn {
    margin-top: 24px;
    padding: 12px 20px;
    border-radius: 5px;
    border: 1px solid #c6d5a2;
    background: linear-gradient(90deg, rgba(161, 190, 176, 1) 0%, rgba(199, 213, 161, 1) 100%);
    color: #333;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    width: 90%;
    transition: opacity 0.2s ease;
}
.compare-action-btn:hover:not(:disabled) {
    opacity: 0.9;
}
.compare-action-btn:disabled,
.compare-action-btn.is-added {
    opacity: 0.65;
    cursor: not-allowed;
}
.compare-action-btn.remove-from-compare-btn {
    background: #fff;
    border-color: #d64545;
    color: #d64545;
}
.compare-count-badge {
    display: inline-block;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0 5px;
    border-radius: 50px;
    background: #5a8f72;
    color: #fff;
    font-size: 11px;
    text-align: center;
    margin-left: 4px;
    vertical-align: middle;
}
.compare-empty-note {
    font-size: 16px;
    color: #777;
}
.compare-selected-grid {
    margin-bottom: 30px;
}
.compare-similar-products {
    margin-top: 10px;
}
.compare-add-more-card {
    background: #fff;
    border: 2px dashed #c6d5a2;
    border-radius: 5px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}
.compare-add-more-btn {
    border: none;
    background: linear-gradient(90deg, rgba(161, 190, 176, 1) 0%, rgba(199, 213, 161, 1) 100%);
    color: #333;
    font-size: 16px;
    font-weight: 500;
    border-radius: 5px;
    padding: 14px 24px;
    cursor: pointer;
}
.compare-add-more-btn:hover {
    opacity: 0.9;
}
.compare-picker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.compare-picker-item {
    min-width: 0;
}
.compare-picker-card {
    width: 100%;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.compare-picker-card:hover:not(:disabled) {
    border-color: #c6d5a2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.compare-picker-card:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.compare-picker-img {
    width: 100%;
    max-height: 140px;
    object-fit: contain;
    margin-bottom: 12px;
}
.compare-picker-name {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    color: #333;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.compare-picker-price {
    font-size: 15px;
    font-weight: 600;
    color: #3F464B;
    margin: 0;
}
.compare-picker-old-price {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #737373;
    text-decoration: line-through;
    margin-top: 4px;
}
@media (max-width: 767px) {
    .compare-add-more-card {
        min-height: 180px;
        margin: 0 10px;
    }
    .compare-picker-grid {
        grid-template-columns: 1fr;
    }
}

.user-order-list-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.user-order-list-scroll thead th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
    box-shadow: inset 0 -1px 0 #dee2e6;
}

.dash-content-left {
    min-height: 0;
    overflow: hidden;
}

.dash-content-left-top {
    flex: 0 0 30%;
    min-height: 0;
}

.dash-content-orderlist {
    display: flex;
    flex-direction: column;
    flex: 1 1 70%;
    min-height: 0;
    overflow: hidden;
}

.dash-content-orderlist .dash-product-main-title {
    flex-shrink: 0;
    margin-bottom: 12px;
}

.dash-content-orderlist .user-order-list-scroll {
    margin-bottom: 0;
}

.dash-content-orderlist .user-order-list-scroll .table {
    margin-bottom: 0;
}

.dash-content-orderlist .user-order-list-scroll::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.dash-content-orderlist .user-order-list-scroll::-webkit-scrollbar-thumb {
    background: #c5c5c5;
    border-radius: 10px;
}

.dash-content-orderlist .user-order-list-scroll::-webkit-scrollbar-track {
    background: #f3f3f3;
    border-radius: 10px;
}

@media screen and (max-width: 991px) {
    .dash-content-orderlist .user-order-list-scroll {
        max-height: 280px;
    }
}

@media screen and (max-width: 767px) {
    .dash-content-left-top {
        flex: 0 0 auto;
    }

    .dash-content-orderlist {
        flex: 1 1 auto;
        min-height: 280px;
    }

    .dash-content-orderlist .user-order-list-scroll {
        max-height: 240px;
    }

    .dash-content-orderlist .table {
        font-size: 13px;
    }

    .dash-content-orderlist th,
    .dash-content-orderlist td {
        white-space: nowrap;
    }
}

.order-action-btns {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.dash-order-view {
    color: #0077ab;
    font-size: 18px;
    text-decoration: none;
    line-height: 1;
}

.dash-order-view:hover {
    color: #005f88;
}

.order-view-page {
    margin-top: 10px;
}

.order-view-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.order-view-top-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.order-view-invoice-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #0077ab;
    border: 1px solid #0077ab;
    background: #fff;
    transition: background 0.2s, color 0.2s;
}

.order-view-invoice-btn:hover {
    background: #0077ab;
    color: #fff;
    text-decoration: none;
}

.order-view-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #313131;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.order-view-back:hover {
    color: #0077ab;
}

.order-status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
    background: #f3f3f3;
    color: #333;
}

.order-status-badge--pending { background: #fff3cd; color: #856404; }
.order-status-badge--confirmed { background: #d1ecf1; color: #0c5460; }
.order-status-badge--shipped { background: #cce5ff; color: #004085; }
.order-status-badge--delivered { background: #d4edda; color: #155724; }
.order-status-badge--cancelled { background: #f8d7da; color: #721c24; }

.order-view-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.order-view-card {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.05);
    padding: 18px 20px;
}

.order-view-card .checkout-section-title {
    margin-bottom: 14px;
    padding-bottom: 8px;
}

.order-view-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.order-view-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

.order-view-list li:last-child {
    border-bottom: none;
}

.order-view-list li span {
    color: #666;
}

.order-view-list li strong {
    color: #222;
    font-weight: 600;
    text-align: right;
}

.order-view-list .order-view-total strong {
    color: #000;
    font-size: 17px;
}

.order-view-address {
    margin: 0;
    color: #313131;
    line-height: 1.7;
    font-size: 15px;
}

.order-view-items-card {
    margin-bottom: 20px;
}

.order-view-table th,
.order-view-table td,
.dash-content-orderlist th,
.dash-content-orderlist td {
    font-family: 'Glacial Indifference', sans-serif;
}

.order-view-actions {
    display: flex;
    gap: 12px;
}

.order-view-delete-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #f1b0b7;
    background: #fff5f5;
    color: #c82333;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.order-view-delete-btn img {
    width: 18px;
}

.order-view-delete-btn:hover {
    background: #fde8ea;
}

@media screen and (max-width: 991px) {
    .order-view-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 767px) {
    .order-view-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-view-list li strong {
        text-align: left;
    }
}
