/* ===========================
   CHECKOUT PAGE STYLES
   =========================== */

/* Loading spinner animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}

.spin {
    animation: spin 1s linear infinite;
}

.checkout-page-section {
    padding: 48px 20px;
    min-height: 100%;
    background-color: #fafafa;
}

.checkout-header {
    margin-bottom: 40px;
    text-align: left;
}

.checkout-header h1 {
    font-size: 2.3rem;
    font-weight: 750;
    color: #1f1f1f;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.01em;
}

.checkout-subtitle {
    color: #3a3a3a;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* Order Type Selection */
.order-type-selection {
    background-color: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    margin-bottom: 40px;
}

.order-type-selection h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 20px;
}

.order-type-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.order-type-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid #e7e7e7;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fff;
}

.order-type-option:hover {
    border-color: #a83232;
    background-color: #fff5f5;
}

.order-type-option input[type="radio"] {
    margin-right: 12px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #a83232;
}

.order-type-option input[type="radio"]:checked + .option-content {
    color: #a83232;
}

.order-type-option input[type="radio"]:checked {
    accent-color: #a83232;
}

/* Unavailable order type styling */
.order-type-option.unavailable {
    opacity: 0.55;
    cursor: not-allowed;
    border-color: #e0e0e0;
    background-color: #f8f8f8;
}

.order-type-option.unavailable:hover {
    border-color: #e0e0e0;
    background-color: #f8f8f8;
}

.order-type-option.unavailable input[type="radio"] {
    cursor: not-allowed;
}

.option-unavailable-badge {
    display: block;
    font-size: 0.78rem;
    color: #c0392b;
    margin-top: 4px;
    font-weight: 600;
}

.option-unavailable-badge i {
    margin-right: 3px;
}

.option-content {
    flex: 1;
}

.option-title {
    display: block;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.option-description {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

/* Scheduled Date Section */
.scheduled-date-section {
    background-color: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    margin-bottom: 40px;
}

.scheduled-date-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 20px;
}

.date-input-group {
    display: flex;
    flex-direction: column;
}

.date-input-group label {
    font-weight: 600;
    color: #1f1f1f;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.date-input-group input[type="date"] {
    padding: 12px 16px;
    border: 1px solid #d4c5b9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.date-input-group input[type="date"]:focus {
    outline: none;
    border-color: #a83232;
    box-shadow: 0 0 0 3px rgba(168, 50, 50, 0.1);
}

.date-input-group input[type="datetime-local"] {
     padding: 12px 16px;
     border: 1px solid #d4c5b9;
     border-radius: 8px;
     font-size: 1rem;
     transition: border-color 0.2s ease;
}

.date-input-group input[type="datetime-local"]:focus {
     outline: none;
     border-color: #a83232;
     box-shadow: 0 0 0 3px rgba(168, 50, 50, 0.1);
}

/* Checkout Form */
.checkout-form {
    margin-bottom: 40px;
}

.checkout-section {
    background-color: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    margin-bottom: 30px;
}

.checkout-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1f1f1f;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d4c5b9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    /* background-color: #fff; */
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a83232;
    box-shadow: 0 0 0 3px rgba(168, 50, 50, 0.1);
}

.form-text-hint {
    display: block;
    color: #666;
    font-size: 0.875rem;
    margin-top: 6px;
    font-style: italic;
}

.error-message {
    display: block;
    color: #d32f2f;
    font-size: 0.9rem;
    margin-top: 6px;
}

@keyframes checkoutFieldFlash {
    0%,
    100% {
        border-color: #d4c5b9;
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0);
    }
    30%,
    70% {
        border-color: #d32f2f;
        box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.22);
    }
}

@keyframes checkoutGroupFlash {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0);
    }
    30%,
    70% {
        box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.22);
    }
}

input.checkout-missing-field,
select.checkout-missing-field,
textarea.checkout-missing-field {
    animation: checkoutFieldFlash 0.9s ease-in-out 2;
}

.order-type-options.checkout-missing-field,
.payment-options.checkout-missing-field,
.terms-conditions-section.checkout-missing-field {
    border-radius: 10px;
    animation: checkoutGroupFlash 0.9s ease-in-out 2;
}

/* Checkout Summary Card */
.checkout-summary-card {
    background-color: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    top: 20px;
}

.checkout-summary-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 24px;
}

/* Checkout Items */
.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 12px;
}

.checkout-items::-webkit-scrollbar {
    width: 6px;
}

.checkout-items::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.checkout-items::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.checkout-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid #d4c5b9;
    border-radius: 10px;
    background-color: #fafafa;
    align-items: flex-start;
}

.checkout-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.checkout-item-details {
    flex: 1;
}

.checkout-item-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f1f1f;
    margin: 0 0 8px 0;
}

.checkout-item-attrs {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.checkout-item-attr-line {
    font-size: 0.9rem;
    color: #666;
}

.checkout-item-addons {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.checkout-item-addon {
    font-size: 0.9rem;
    color: #888;
}

.checkout-item-price {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.checkout-item-qty {
    display: flex;
    gap: 6px;
    align-items: center;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #d4c5b9;
    background-color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    border-color: #a83232;
    color: #a83232;
}

.qty-input {
    width: 50px;
    max-width: 60px;
    padding: 6px 8px;
    border: 1px solid #d4c5b9;
    border-radius: 4px;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
}

.checkout-item-total {
    font-weight: 700;
    color: #1f1f1f;
    font-size: 1.05rem;
    white-space: nowrap;
}

.remove-item-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #d32f2f;
    padding: 4px;
    transition: all 0.2s ease;
}

.remove-item-btn:hover {
    transform: scale(1.1);
}

.remove-item-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Coupon Section */
.coupon-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #d4c5b9;
}

.coupon-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.coupon-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d4c5b9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.coupon-input:focus {
    outline: none;
    border-color: #a83232;
    box-shadow: 0 0 0 3px rgba(168, 50, 50, 0.1);
}

.btn-apply-coupon {
    padding: 12px 24px;
    background-color: #a83232;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-apply-coupon:hover {
    background-color: #921e1e;
    transform: translateY(-2px);
}

.coupon-hint {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Price Summary */
.price-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: #666;
}

.summary-row span:last-child {
    font-weight: 600;
    color: #1f1f1f;
}

.summary-divider {
    height: 1px;
    background-color: #d4c5b9;
    margin: 12px 0;
}

.total-row {
    font-size: 1.25rem;
    color: #1f1f1f;
    font-weight: 700;
}

.total-row span:last-child {
    color: #a83232;
}

/* Payment Method Section */
.payment-method-section {
    background-color: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    margin-bottom: 40px;
}

.payment-method-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 20px;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid #d4c5b9;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fff;
}

.payment-option:hover {
    border-color: #a83232;
    background-color: #fff5f5;
}

.payment-option input[type="radio"] {
    margin-right: 12px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #a83232;
}

.payment-option input[type="radio"]:checked + .option-content {
    color: #a83232;
}

.payment-instructions-box {
    margin-top: 16px;
    padding: 16px 18px;
    border: 1px solid #eadccd;
    border-left: 4px solid #a83232;
    border-radius: 10px;
    background-color: #fffaf6;
}

.payment-instructions-title {
    font-size: 1rem;
    font-weight: 700;
    color: #5a3a2f;
    margin: 0 0 8px;
}

.payment-instructions-content {
    color: #3f3a36;
    font-size: 0.95rem;
    line-height: 1.7;
    word-break: break-word;
}

.payment-instructions-content a {
    color: #a83232;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.payment-instructions-content a:hover {
    color: #7c1f1f;
}

/* Checkout Actions */
.checkout-actions {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.btn-back,
.btn-place-order {
    flex: 1;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-back {
    background-color: #e7e7e7;
    color: #1f1f1f;
}

.btn-back:hover {
    background-color: #d0d0d0;
    transform: translateY(-2px);
}

.btn-place-order {
    background-color: #a83232;
    color: white;
}

.btn-place-order:hover {
    background-color: #921e1e;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(168, 50, 50, 0.2);
}

/* ========================================
   MULTI-STEP CHECKOUT STYLES
   ======================================== */

/* Step Progress Indicator */
.checkout-progress-indicator {
    background-color: white;
    padding: 24px 30px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f0f0f0;
    border: 2px solid #d4c5b9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: #666;
    transition: all 0.3s ease;
    z-index: 2;
}

.progress-step.active .step-circle {
    background-color: #a83232;
    color: white;
    border-color: #a83232;
    box-shadow: 0 4px 12px rgba(168, 50, 50, 0.2);
}

.progress-step.completed .step-circle {
    background-color: #4caf50;
    color: white;
    border-color: #4caf50;
}

.progress-step.completed .step-circle::after {
    content: '✓';
    font-size: 1.5rem;
}

.step-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #666;
    text-align: center;
}

.progress-step.active .step-label {
    color: #a83232;
    font-weight: 700;
}

.progress-step.completed .step-label {
    color: #4caf50;
}

.progress-line {
    flex: 1;
    height: 2px;
    background-color: #d4c5b9;
    position: relative;
    z-index: 1;
    transition: background-color 0.3s ease;
}

.progress-step.completed ~ .progress-line {
    background-color: #4caf50;
}

/* Checkout Steps */
.checkout-step {
    display: none;
    animation: slideInRight 0.3s ease;
}

.checkout-step.active {
    display: block;
}

.checkout-step.exit {
    animation: slideOutLeft 0.3s ease;
}

.step-content {
    background-color: white;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    margin-bottom: 30px;
}

/* Step Actions - Navigation Buttons */
.step-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
}

.btn-next {
    padding: 14px 32px;
    background-color: #a83232;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    width:50%;
    justify-content: center;
}

.btn-next:hover {
    background-color: #921e1e;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(168, 50, 50, 0.2);
}

.btn-next:active {
    transform: translateY(0);
}

.btn-next svg {
    width: 20px;
    height: 20px;
}

/* Terms & Conditions Checkbox */
.terms-conditions-section {
    background-color: #fafafa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #a83232;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #d4c5b9;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background-color: #a83232;
    border-color: #a83232;
    color: white;
    font-weight: bold;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    font-size: 16px;
    color: white;
}

.checkbox-text {
    font-size: 1rem;
    color: #1f1f1f;
    line-height: 1.5;
}

.checkbox-text a {
    color: #a83232;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

body.checkout-terms-open {
    overflow: hidden;
}

.checkout-terms-link {
    display: inline;
}

.checkout-terms-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 15, 15, 0.68);
    z-index: 10000;
}

.checkout-terms-modal.is-open {
    display: flex;
}

.checkout-terms-dialog {
    width: min(760px, 100%);
    max-height: min(85vh, 900px);
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.checkout-terms-header,
.checkout-terms-footer {
    padding: 20px 24px;
    background: #fffaf7;
}

.checkout-terms-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #efe4db;
}

.checkout-terms-modal[dir="rtl"] .checkout-terms-header {
    flex-direction: row-reverse;
}

.checkout-terms-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1f1f1f;
}

.checkout-terms-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #7a5d4b;
    font-size: 1.8rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.checkout-terms-close:hover {
    background: rgba(168, 50, 50, 0.08);
    color: #a83232;
}

.checkout-terms-body {
    padding: 24px;
    overflow-y: auto;
    color: #2a2a2a;
    font-size: 1rem;
    line-height: 1.8;
    white-space: pre-wrap;
    text-align: start;
}

.checkout-terms-empty {
    margin: 0;
    color: #6b6b6b;
    font-style: italic;
}

.checkout-terms-footer {
    border-top: 1px solid #efe4db;
}

.checkout-terms-action {
    width: 100%;
    padding: 14px 18px;
    border: 0;
    border-radius: 10px;
    background: #a83232;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.checkout-terms-action:hover {
    background: #921e1e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .progress-steps {
        gap: 4px;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .checkout-terms-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .checkout-terms-dialog {
        width: 100%;
        max-height: min(88vh, 100%);
        border-radius: 18px 18px 0 0;
    }

    .checkout-terms-header,
    .checkout-terms-body,
    .checkout-terms-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .checkout-terms-header {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .checkout-terms-title {
        font-size: 1.1rem;
    }

    .checkout-terms-body {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .step-label {
        font-size: 0.8rem;
    }

    .progress-line {
        margin: 0 4px;
        top: -6px;
    }

    .step-content {
        padding: 24px;
    }

    .step-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn-back,
    .btn-next {
        width: 100%;
        justify-content: center;
    }

    .order-type-options {
        grid-template-columns: 1fr;
    }

    .payment-options {
        grid-template-columns: 1fr;
    }

    .payment-instructions-box {
        margin-top: 12px;
        padding: 12px;
    }

    .payment-instructions-title {
        font-size: 0.95rem;
    }

    .payment-instructions-content {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .checkout-summary-card {
        position: static;
    }

    .checkout-actions {
        flex-direction: column;
    }

    .checkout-header h1 {
        font-size: 1.8rem;
    }

    .checkout-section {
        padding: 20px;
    }
    
    .points-input-group {
        flex-direction: row;
    }
    
    .points-input,
    .btn-apply-points {
        font-size: 0.95rem;
    }
}

/* Discount Points Section */
.discount-points-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #d4c5b9;
}

.points-info {
    background-color: #f8f9fa;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.points-info .text-primary {
    font-size: 1.1rem;
}

.points-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.points-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d4c5b9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.points-input:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.points-input.points-applied {
    background-color: #d4edda;
    border-color: #28a745;
}

.btn-apply-points {
    padding: 12px 24px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-apply-points:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.btn-apply-points:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.btn-apply-points.btn-success {
    background-color: #28a745;
}

.points-value-display {
    text-align: center;
    padding: 8px;
    background-color: #d4edda;
    border-radius: 6px;
    border: 1px solid #c3e6cb;
}

.points-value-display small {
    font-size: 0.9rem;
}

/* Discount Points Row in Summary */
.discount-points-row {
    color: #28a745 !important;
}

.discount-points-row span:first-child {
    color: #28a745 !important;
}

.discount-points-row span:last-child {
    color: #28a745 !important;
    font-weight: 700;
}

/* Mobile Responsiveness for Discount Points */
@media (max-width: 576px) {
    .discount-points-section {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    
    .points-input-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .points-input,
    .btn-apply-points {
        width: 100%;
    }
    
    .btn-apply-points {
        justify-content: center;
        padding: 14px 20px;
    }
    
    .points-info {
        padding: 8px 12px;
    }
}

/* Form Message Styles */
.form-message {
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 12px;
}

.form-message.warning-message {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}