/* WooCommerce standart formları gizle */
.woocommerce-account:not(.logged-in) .woocommerce > h2,
.woocommerce-account:not(.logged-in) .woocommerce form.login,
.woocommerce-account:not(.logged-in) .woocommerce form.register,
.woocommerce-account:not(.logged-in) .u-columns.col2-set {
    display: none !important;
}/* Sayfa içi giriş/kayıt formu konteyneri */
.slr-login-register-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Zaten giriş yapılmış mesajı */
.slr-already-logged-in {
    padding: 15px;
    background-color: #f0f9eb;
    border-left: 4px solid #67c23a;
    color: #67c23a;
    border-radius: 4px;
}.slr-popup-close:hover {
    transform: rotate(90deg);
    background-color: #333;
}/* Basit Giriş/Kayıt Popup CSS - Geliştirilmiş Versiyon */

/* Genel stiller */
.slr-hidden {
    display: none !important;
}

/* Popup overlay */
#slr-popup-overlay,
#slr-email-verify-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}

#slr-popup-overlay2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}
.swal2-container{z-index:99999;}
/* Popup container */
.slr-popup-container {
    background-color: #fff;
    border-radius: 10px;
    max-width: 450px;
    width: 100%;
    padding: 30px;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
   overflow-y:scroll;
    overflow-x: visible; /* Kapatma butonu dışarı taşabilsin */
    animation: slrFadeIn 0.3s ease-in-out;
}

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

/* Kapatma butonu */
.slr-popup-close {
    position: absolute;
    top: 15px;
    right: 5px;
    font-size: 24px;
    color: black;
    cursor: pointer;
    transition: all 0.3s;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    z-index: 10000; /* Yüksek z-index değeri */
    border: 2px solid #fff;
}

.slr-popup-close:hover {
    transform: rotate(90deg);
    background-color: #333;
}

/* Tab butonları */
.slr-tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.slr-tab-link {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 16px;
    font-size: 16px !important;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
    position: relative;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slr-tab-link:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    transition: background-color 0.3s;
}

.slr-tab-link.active {
    color: #ffffff !important;
    font-weight: 600;
    background: linear-gradient(90deg, #ef7b00, #e3000d) !important;
}



.slr-tab-content {
    display: none;
}

.slr-tab-content.active {
    display: block;
    animation: slrFadeIn 0.3s ease-in-out;
}

/* Form stilleri */
.slr-form {
    margin-top: 15px;
}

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

.slr-form-group label {
    display: flex;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
    font-size: 14px;
}

.slr-input-wrapper {
    position: relative;
}

.slr-form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.slr-form-group input:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.1);
}

.slr-form-group input::placeholder {
    color: #aaa;
    opacity: 0.8;
}

/* Input ile ikona sahip alanlar */
.slr-form-group input[type="password"],
.slr-form-group input[type="tel"] {
    padding-right: 40px;
}

/* Şifre göster/gizle ikonu */
.slr-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    transition: color 0.3s;
    font-size: 16px;
    padding: 5px;
}

.slr-toggle-password:hover {
    color: #333;
}

/* Checkbox grup */
.slr-form-group.slr-checkbox {
    display: flex;
    align-items: center;
}

.slr-form-group.slr-checkbox input {
    width: auto;
    margin-right: 8px;
    box-shadow: none;
}

.slr-form-group.slr-checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

.slr-checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

/* Login options layout */
.slr-login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.slr-forgot-password-container {
    text-align: right;
    font-size:14px;
}

/* Yeni checkbox stili */
.slr-checkbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
}

.slr-checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.slr-checkbox-mask {
    height: 22px;
    width: 22px;
    display:block !important;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
    position: relative;
}

.slr-checkbox-input:checked ~ .slr-checkbox-mask:after {
    content: "";
    position: absolute;
    left: 8px;
    top: 2px;
    width: 6px;
    height: 14px;
    border: solid #2271b1;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.slr-checkbox label{margin-bottom:0px;}
.slr-checkbox-label {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: #555;
}

/* Top margin */
.slr-top-margin {
    margin-top: 15px;
}

/* Small text */
.slr-small-text {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

/* Tertiary links */
.slr-tertiary-link {
    color: #2271b1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.slr-tertiary-link:hover {
    color: #135e96;
    text-decoration: underline;
}

/* Butonlar */
.slr-button {
    display: inline-block;
    background: linear-gradient(90deg, #ef7b00, #e3000d) !important;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 18px !important;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.slr-button:hover {
    background: linear-gradient(90deg, #ef7b00, #e3000d) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.slr-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.slr-secondary-button {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.slr-secondary-button:hover {
    background-color: #e0e0e0;
    color: #333;
}

/* Doğrulama grup */
.slr-verification-group {
    margin-top: 10px;
}

.slr-verification-code-group {
    display: flex;
    gap: 8px;
}

.slr-verification-code-group input {
    flex: 1;
}

.slr-verification-code-group button {
    width: auto;
}

/* Ek linkler */
.slr-additional-links {
    margin-top: 15px;
    width: 100%;
    justify-content: center;
    text-align: center;
    align-items: center;
    display:flex;
}

.slr-additional-links a {
    color: #2271b1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.slr-additional-links a:hover {
    color: #135e96;
    text-decoration: underline;
}

/* Mesaj */
.slr-message {
    margin-bottom: 15px;
    padding: 12px 15px;
    border-radius: 6px;
    display: none;
    font-size: 14px;
    line-height: 1.5;
}

.slr-message.slr-error {
    background-color: #fff5f5;
    color: #d32f2f;
    border-left: 4px solid #d32f2f;
    display: block;
}

.slr-message.slr-success {
    background-color: #f0f9eb;
    color: #67c23a;
    border-left: 4px solid #67c23a;
    display: block;
}

/* Giriş linki */
.slr-login-link {
    display: inline-block;
    background: linear-gradient(90deg, #ef7b00, #e3000d) !important;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-decoration: none;
}

.slr-login-link:hover {
    background: linear-gradient(90deg, #ef7b00, #e3000d) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    color: #fff !important;
    text-decoration: none;
}

/* Giriş yapmış kullanıcı bilgisi */
.slr-logged-in-user {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #eee;
}

.slr-logout-link {
    color: #2271b1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.slr-logout-link:hover {
    text-decoration: underline;
}

/* Form satırı - yan yana alanlar için */
.slr-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 5px;
}

.slr-form-row .slr-form-group {
    flex: 1;
    min-width: calc(50% - 8px);
}

/* Doğrulama bilgi kutusu */
.slr-verification-info {
    background-color: #f8f9fa;
    border-left: 4px solid #2271b1;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 6px;
}

.slr-verification-info p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Link butonları */
.slr-link-button {
    background: none;
    border: none;
    color: #2271b1;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    text-decoration: none;
    transition: color 0.3s;
}

.slr-link-button:hover {
    color: #135e96;
    text-decoration: underline;
}

/* Ayraç */
.slr-separator {
    color: #ccc;
    margin: 0 6px;
}

/* Doğrulama giriş alanı */
#slr-verification-code,
#slr-email-verify-code {
    font-size: 18px;
    letter-spacing: 6px;
    text-align: center;
    font-weight: 500;
}

/* My Account E-posta Doğrulama Popup Başlık */
#slr-email-verify-overlay .slr-popup-container h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Form konteyneri animasyonu */
#slr-register-form-container,
#slr-verification-form-container,
#slr-email-verify-form-container {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Başarı butonu stilleri */
.slr-button-success {
    background-color: #28a745 !important;
}

.slr-button-success:hover {
    background-color: #218838 !important;
}

/* Hesabım sayfası için ek stiller */
.woocommerce-account .woocommerce-EditAccountForm .form-row {
    margin-bottom: 15px;
}

.woocommerce-account .woocommerce-EditAccountForm .woocommerce-Input {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* Hesabım sayfasında telefon alanı için ek stil */
#account_phone {
    padding-left: 90px !important;
}

.woocommerce-account .iti {
    width: 100%;
    display: block;
}
.iti .iti__selected-dial-code{margin-left:0px !important;}
/* intl-tel-input tema çakışmalarını önle */
.iti__selected-country,
button.iti__selected-country,
.iti__country {
    min-height: initial !important;
    padding: 0 8px !important;
    height: auto !important;
    font-size: inherit !important;
    margin-top:10px;
    text-transform: none !important;
    font-weight: normal !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: inherit !important;
    line-height: normal !important;
}

.iti__country-list {
    font-size: 13px !important;
    text-transform: none !important;
    min-height: auto !important;
}

/* Ülke kod gösterimi */
.iti__selected-dial-code {
    font-size: 14px !important;
    font-weight: normal !important;
}

/* Ok işareti */
.iti__arrow {
    margin-left: 6px;
    border-left: 3px solid transparent !important;
    border-right: 3px solid transparent !important;
    border-top: 4px solid #555 !important;
    width: auto !important;
    height: auto !important;
}

/* intl-tel-input stil düzenlemeleri */
.iti {
    width: 100%;
    display: block;
}

.iti__flag-container {
    z-index: 5;
}

.iti-custom-container {
    margin-bottom: 0;
}

.iti--separate-dial-code .iti__selected-flag {
    background-color: #f8f9fa;
    border-radius: 5px 0 0 5px;
    padding: 0 12px 0 8px;
}

.iti__country-list {
    max-width: 20rem;
    max-height: 12rem;
    overflow-y: scroll;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* Telefon alanı kendi stili */
#slr-register-phone {
    padding-left: 90px !important; /* Ülke koduna yer açmak için */
}

/* Sözleşme Modal Stilleri */
.slr-contract-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    animation: slrFadeIn 0.3s;
}

.slr-contract-modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
}

.slr-contract-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #999;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.slr-contract-modal-close:hover {
    color: #333;
    background-color: #f7f7f7;
}

.slr-contract-modal h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.slr-contract-modal-body {
    line-height: 1.6;
    color: #555;
    font-size: 14px;
}

/* Mobil için uyarlama */
@media (max-width: 767px) {
    .slr-popup-wrapper{width:90%;}
    .slr-popup-container {
       
        padding: 20px;
        border-radius: 8px;
    }
    
    .slr-contract-modal-content {
        width: 90%;
        margin: 10% auto;
        padding: 20px;
    }
    
    .slr-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .slr-form-row .slr-form-group {
        width: 100%;
    }
    
    .slr-verification-code-group {
        flex-direction: column;
    }
    
    .slr-verification-code-group button {
        width: 100%;
        margin-top: 8px;
    }
    
    .slr-login-options {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .slr-forgot-password-container {
       
        text-align: left;
    }
}