/* Checkout Page Styles */
.checkout-section {
    position: relative;
    display: block;
    padding: 100px 0 100px;
    background-color: var(--techguru-black);
}

.checkout-wrapper {
    position: relative;
    display: block;
}

.checkout-order-summary {
    position: relative;
    display: block;
    background-color: rgba(var(--techguru-white-rgb), 0.05);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.checkout-section-title {
    color: var(--techguru-white);
    font-size: 24px;
    line-height: 34px;
    font-weight: 700;
    margin-bottom: 30px;
}

.order-summary-content {
    position: relative;
    display: block;
}

.order-summary-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background-color: rgba(var(--techguru-white-rgb), 0.03);
    border-radius: 12px;
    margin-bottom: 20px;
}

.order-item-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FA5674 0%, #6065D4 100%);
    border-radius: 12px;
    font-size: 30px;
    color: var(--techguru-white);
    flex-shrink: 0;
}

.order-item-icon img {
    max-width: 50px;
    max-height: 50px;
}

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

.order-item-details h4 {
    color: var(--techguru-white);
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    margin-bottom: 5px;
}

.order-item-details p {
    color: var(--techguru-gray);
    font-size: 16px;
    line-height: 24px;
}

.order-item-price {
    text-align: right;
}

.order-item-price .price-original {
    display: block;
    color: var(--techguru-gray);
    font-size: 16px;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.order-item-price .price-final {
    display: block;
    color: var(--techguru-base);
    font-size: 28px;
    font-weight: 700;
    line-height: 28px;
}

.order-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background-color: rgba(var(--techguru-base-rgb), 0.1);
    border-radius: 12px;
    border: 2px solid var(--techguru-base);
}

.total-label {
    color: var(--techguru-white);
    font-size: 20px;
    font-weight: 600;
}

.total-amount {
    color: var(--techguru-base);
    font-size: 32px;
    font-weight: 700;
}

/* Email Form Section */
.checkout-email-form,
.checkout-otp-form {
    position: relative;
    display: block;
    background-color: rgba(var(--techguru-white-rgb), 0.05);
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--techguru-white);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.form-control {
    width: 100%;
    height: 55px;
    background-color: rgba(var(--techguru-white-rgb), 0.1);
    border: 1px solid rgba(var(--techguru-white-rgb), 0.2);
    border-radius: 10px;
    color: var(--techguru-white);
    font-size: 16px;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--techguru-base);
    background-color: rgba(var(--techguru-white-rgb), 0.15);
}

.form-control::placeholder {
    color: var(--techguru-gray);
}

.invalid-feedback {
    display: none;
    color: #FA5674;
    font-size: 14px;
    margin-top: 8px;
}

.invalid-feedback.d-block {
    display: block;
}

.form-control.is-invalid {
    border-color: #FA5674;
}

.btn-block {
    width: 100%;
}

.btn-loader {
    display: none;
}

/* OTP Form Specific */
.otp-instruction {
    color: var(--techguru-gray);
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 30px;
}

.otp-instruction strong {
    color: var(--techguru-base);
}

.otp-input {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 8px;
    font-family: 'Courier New', monospace;
}

.otp-resend-section,
.otp-back-section {
    text-align: center;
    margin-top: 20px;
}

.otp-resend-section p {
    color: var(--techguru-gray);
    font-size: 14px;
}

.otp-resend-section a,
.otp-back-section a {
    color: var(--techguru-base);
    font-weight: 500;
    transition: all 0.3s ease;
}

.otp-resend-section a:hover,
.otp-back-section a:hover {
    color: var(--techguru-white);
}

/* Responsive */
@media (max-width: 991px) {
    .checkout-section {
        padding: 80px 0 80px;
    }

    .checkout-order-summary,
    .checkout-email-form,
    .checkout-otp-form {
        padding: 30px 20px;
    }

    .page-header__title {
        font-size: 36px;
        line-height: 46px;
    }
}

@media (max-width: 767px) {
    .order-summary-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .order-item-price {
        text-align: center;
    }

    .order-summary-total {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .total-amount {
        font-size: 28px;
    }

    .checkout-section-title {
        font-size: 20px;
        line-height: 28px;
    }
}