:root {
    --container-inline-padding: 1.25rem;
}

.rbt-section-gap .container {
    padding-left: var(--container-inline-padding);
    padding-right: var(--container-inline-padding);
}

/* Payment tab buttons desktop styling */
.checkout_area .payment-tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.checkout_area .payment-tab-btn.active {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    border-color: #f97316;
}

.checkout_area .payment-tab-btn:not(.active) {
    background: #f9fafb;
    color: #6b7280;
    border-color: #e5e7eb;
}

.checkout_area .payment-tab-btn:not(.active):hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #374151;
}

.checkout_area .payment-tab-btn i {
    font-size: 1.1rem;
}

body.mobile-menu-open {
    overflow: hidden;
}

/* Textarea and form input optimization */
textarea.form-text,
textarea.form-control,
.form-textarea {
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 991px) {
    textarea.form-text,
    textarea.form-control,
    .form-textarea {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 575px) {
    textarea.form-text,
    textarea.form-control,
    .form-textarea {
        padding-left: 10px;
        padding-right: 10px;
    }
}

body.short-description-highlight .short-description-card {
    background: var(--short-desc-bg-color, #ffffff);
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.08);
}

/* Payment tab buttons desktop styling */
.checkout_area .payment-tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.checkout_area .payment-tab-btn.active {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    border-color: #f97316;
}

.checkout_area .payment-tab-btn:not(.active) {
    background: #f9fafb;
    color: #6b7280;
    border-color: #e5e7eb;
}

.checkout_area .payment-tab-btn:not(.active):hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #374151;
}

.checkout_area .payment-tab-btn i {
    font-size: 1.1rem;
}

@media (max-width: 1199px) {
    .rbt-header .mainbar-row {
        gap: 0.75rem;
    }

    .rbt-header .mainbar-row .rbt-main-navigation {
        margin: 0 15px;
    }

    .rbt-banner-area .banner-content .title {
        font-size: 2.6rem;
        line-height: 1.15;
    }

    .rbt-contact-form.contact-form-style-1 {
        border-radius: 20px;
    }
}

@media (max-width: 991px) {
    .mainbar-row {
        flex-wrap: wrap;
    }

    .header-left,
    .header-right {
        width: 100%;
    }

    .header-right .quick-access {
        justify-content: flex-start;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .rbt-banner-area .banner-content {
        text-align: center;
    }

    .rbt-banner-area .banner-content .title {
        font-size: 2.2rem;
    }

    .rbt-banner-area .rbt-contact-form {
        margin-top: 1.5rem;
        padding: 2rem 1.75rem;
        box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
    }

    .checkout_area .rbt-my-account-tab-button {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout_area .payment-tab-btn {
        width: 100%;
        text-align: center;
        padding: 1rem !important;
        margin-bottom: 0.5rem;
        border-radius: 8px !important;
        font-size: 0.9rem;
    }

    .checkout_area .payment-tab-btn i {
        font-size: 1rem;
        margin-right: 6px !important;
    }

    .checkout_area .checkout-content-wrapper,
    .checkout_area .checkout-cart-total,
    .checkout_area .order-payment-wrapper {
        padding: 1.5rem;
    }

    .checkout_area select,
    .checkout_area input,
    .checkout_area textarea {
        min-height: 52px;
        font-size: 1rem;
    }

    .checkout_area select[name="country"],
    .checkout_area select[name="city"] {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        background-size: 12px;
        padding-right: 2.5rem;
        cursor: pointer;
    }

    .checkout_area select[name="country"]:focus,
    .checkout_area select[name="city"]:focus {
        outline: 2px solid var(--color-primary, #f97316);
        outline-offset: 2px;
    }
}

@media (max-width: 767px) {
    .header-right .rbt-btn-wrapper,
    .header-right .rbt-btn-wrapper .rbt-btn {
        width: 100%;
        text-align: center;
    }

    /* Kursa Başla butonu mobil iyileştirmeleri */
    .rbt-user-wrapper .rbt-user-menu-list-wrapper {
        max-width: calc(100vw - 2rem);
        left: 1rem !important;
        right: 1rem !important;
        width: auto !important;
    }

    .rbt-btn.btn-gradient {
        min-height: 48px;
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
    }

    .rbt-banner-area .rbt-contact-form .form-submit-group button {
        min-height: 54px;
        font-size: 1rem;
    }

    .rbt-course-area .read-more-btn {
        text-align: center !important;
        margin-top: 1rem;
    }

    .checkout_area .checkout-form {
        flex-direction: column;
    }

    .checkout_area .checkout-form > div {
        width: 100%;
    }

    .checkout_area .checkout-title {
        font-size: 1.35rem;
    }
}

@media (max-width: 575px) {
    .rbt-banner-area .section-title .subtitle {
        white-space: normal;
    }

    .rbt-banner-area .banner-content .title {
        font-size: 1.85rem;
    }

    .popup-mobile-menu .mainmenu > li > a {
        font-size: 1rem;
        padding: 0.65rem 0;
    }

    /* Buton boyutları mobilde optimize */
    .rbt-btn {
        min-height: 44px;
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }

    .rbt-btn.btn-sm {
        min-height: 40px;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* Payment tab buttons mobile optimization */
    .checkout_area .rbt-my-account-tab-button {
        gap: 0.5rem;
    }

    .checkout_area .payment-tab-btn {
        font-size: 0.85rem;
        padding: 0.65rem 0.75rem !important;
    }

    .checkout_area .payment-tab-btn i {
        font-size: 0.9rem;
        margin-right: 4px !important;
    }
}


