.authentication-wrapper .authentication-inner {
    max-width: 1250px;
}

.card {
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(161, 172, 184, 0.1);
}

.moonwa-header {
    text-align: center;
    margin-bottom: 2rem;
}

.moonwa-logo {
    width: 200px;
    margin-bottom: 0.5rem;
}

.moonwa-subtitle {
    font-size: 1.1rem;
    color: #6d6d6d;
}

.progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.progress-step {
    display: flex;
    align-items: center;
    color: #b0b0b0;
    font-weight: 500;
}

.progress-step .step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.progress-step.active {
    color: var(--bs-primary);
}

.progress-step.active .step-circle {
    background-color: var(--bs-primary);
}

.progress-line {
    width: 30px;
    height: 2px;
    background-color: #e0e0e0;
    margin: 0 1rem;
}

.package-type-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.package-tab {
    flex: 1 1 30%;
    min-width: 160px;
    max-width: 250px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 0.75rem;
    cursor: pointer;
    background-color: #fff;
    font-weight: 600;
    color: #495057;
    transition: all 0.25s ease-in-out;
}

.package-tab i {
    font-size: 1.3rem;
    color: #ffc107;
}

.package-tab:hover {
    border-color: var(--bs-primary);
    box-shadow: 0 3px 10px rgba(var(--bs-primary-rgb), 0.15);
    transform: translateY(-2px);
}

.package-type-tabs input[type="radio"]:checked+.package-tab {
    color: var(--bs-warning);
    border-color: var(--bs-primary);
    box-shadow: 0 4px 15px rgba(var(--bs-primary-rgb), 0.3);
}

.package-name {
    font-size: 1rem;
    font-weight: 600;
}

.package-icon {
    font-size: 1.5rem;
    color: #999;
    transition: all 0.25s ease-in-out;
}

.package-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.25s ease-in-out;
}

@media (max-width: 768px) {
    .package-type-tabs {
        justify-content: space-between;
        gap: 0.5rem;
    }

    .package-tab {
        flex: 1 1 30%;
        min-width: 100px;
        max-width: none;
        height: 50px;
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }

    .package-tab i {
        font-size: 1.1rem;
    }
}

.billing-option-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.billing-option-card {
    border: 2px solid #eee;
    border-radius: 0.5rem;
    flex: 1;
    max-width: 380px;
    transition: all 0.2s ease-in-out;
    position: relative;
    background: #fff;
}

.billing-option-card:hover {
    border-color: #ccc;
}

.billing-option-card input[type="radio"]:checked+.billing-content {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    box-shadow: 0 4px 15px rgba(var(--bs-primary-rgb), 0.4);
    transform: scale(1.03);
    color: #fff;
}

.billing-option-card input[type="radio"]:checked+.billing-content .billing-info span,
.billing-option-card input[type="radio"]:checked+.billing-content .billing-info small,
.billing-option-card input[type="radio"]:checked+.billing-content .price-old {
    color: #fff !important;
}

.billing-option-card input[type="radio"]:checked+.billing-content .price-display {
    color: var(--bs-warning) !important;
}

.billing-option-card input[type="radio"]:checked+.billing-content .price-old {
    opacity: 0.85;
}

.billing-option-card input[type="radio"]:checked+.billing-content .discount-badge {
    background-color: #ff6b6b;
    color: #fff;
}

.billing-content {
    transition: all 0.25s ease-in-out;
}

.billing-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1rem;
    border-radius: 0.4rem;
    position: relative;
    transition: all 0.2s ease-in-out;
}

.billing-option-card .discount-badge {
    position: absolute;
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.3rem;
}

.billing-info {
    text-align: left;
}

.billing-price {
    text-align: right;
    min-width: 100px;
}

.price-old {
    text-decoration: line-through;
    color: #a0a0a0;
    font-size: 0.85rem;
}

.price-display {
    font-size: 1.4rem;
    font-weight: 700;
    color: #404040;
    margin-top: 0.2rem;
}

.billing-option-card input[type="radio"]:checked+.billing-content .price-display {
    color: var(--bs-primary);
}

.billing-option-card .price-old {
    text-decoration: line-through;
    color: #a0a0a0;
    font-size: 0.85rem;
}

.billing-option-card .price-display {
    font-size: 1.1rem;
    font-weight: 700;
    color: #404040;
    margin: 0.25rem 0;
}

.billing-option-card .period-text {
    color: #808080;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .billing-option-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .billing-option-card {
        max-width: 100%;
    }

    .billing-price {
        text-align: left;
        width: 100%;
    }

    .price-display {
        font-size: 1.2rem;
    }
}

.order-summary-card .card-title {
    color: #6d6d6d !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

#summary-content .row {
    margin-left: 0;
    margin-right: 0;
}

#summary-content dt,
#summary-content dd {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #404040;
}

#summary-content dt.fw-normal {
    font-weight: 400 !important;
}

#summary-content dd.fw-semibold {
    font-weight: 600 !important;
}

#summary-content dd del {
    color: #a0a0a0;
}

#summary-content dt.text-success,
#summary-content dd.text-success {
    color: var(--bs-success) !important;
}

#summary-content hr {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

#summary-content dt.fs-5 {
    font-size: 1.1rem !important;
    color: #404040;
    font-weight: 600 !important;
}

#summary-content dd.fs-5.fw-bold {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--bs-primary) !important;
}

#summary-content .text-muted-included {
    color: #a0a0a0 !important;
    font-weight: normal !important;
}

#summary-content p.text-center {
    color: #a0a0a0 !important;
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.form-navigation-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.form-navigation-buttons .btn {
    min-width: 150px;
}

.payment-method-group {
    border: 1px solid #e0e0e0;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.payment-method-group-title {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    margin-bottom: 1rem;
}

.payment-method-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.payment-method-item {
    flex: 0 0 calc(50% - 0.375rem);
    min-width: 140px;
}

.payment-method-item input[type="radio"] {
    display: none;
}

.payment-method-item label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    cursor: pointer;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
    width: 100%;
}

.payment-method-item label:hover {
    border-color: var(--bs-primary);
    box-shadow: 0 2px 5px rgba(var(--bs-primary-rgb), 0.1);
}

.payment-method-item input[type="radio"]:checked+label {
    border-color: var(--bs-primary);
    box-shadow: 0 3px 8px rgba(var(--bs-primary-rgb), 0.2);
    background-color: #e6f2ff;
}

.payment-method-item .logo {
    max-height: 25px;
    max-width: 70px;
    object-fit: contain;
}

.payment-method-item .method-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: #495057;
    margin-right: auto;
    margin-left: 0.5rem;
}

.payment-method-item .verification-status {
    font-size: 0.95rem;
    color: #6c757d;
    margin-left: 0.5rem;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .payment-method-item {
        flex: 0 0 100%;
    }
}

.accordion-button:not(.collapsed) {
    border-bottom: 1px solid #dee2e6 !important;
    box-shadow: none !important;
    background-color: #f8f9fa !important;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.accordion-item {
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem;
    overflow: hidden;
}

.accordion-button {
    position: relative;
}

.accordion-button .brand-logos {
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 8px;
}

.accordion-button .brand-logos img {
    height: 15px;
    object-fit: contain;
}

.logo {
    height: 14px;
    object-fit: contain;
}

.coupon-card {
    border: 2px dashed #0d6efd;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.coupon-card.selected {
    border-style: solid;
    border-color: #0C4D87;
    background-color: #eff3f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.coupon-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coupon-code {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.coupon-discount .badge {
    font-size: 0.95rem;
    font-weight: 600;
}

.coupon-meta {
    border-top: 1px solid #e0e0e0;
}

#accordionPayment.is-invalid .accordion-item {
    border-color: var(--bs-danger) !important;
}

.invalid-feedback-container {
    width: 100%;
    margin-top: 0.25rem;
    font-size: .875em;
    color: var(--bs-danger);
}