/* Adres seçici bölümü - Ödeme sayfası için */
.tagaddress-selector {
    margin-bottom: 30px;
  
   
    border-radius: 8px;
    
}
.iti{display:block !important;width:100%;}
.tagaddress-selector h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}
.woocommerce-input-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.woocommerce-input-wrapper input[type="radio"] {
    margin-right: 0px;
}
.woocommerce-input-wrapper textarea{height:90px !important;    min-height: 90px !important;}
.woocommerce-input-wrapper label.radio {
    display: flex;
    align-items: center;
    padding: 3px 3px;
    margin-right: 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.woocommerce-input-wrapper label.radio:hover {
    background: #e9ecef;
}

.woocommerce-input-wrapper input[type="radio"]:checked + label.radio {
    background: #e2e8f0;
    border-color: #cbd5e1;
}
/* Kayıtlı adresler listesi */
.tagaddress-saved-addresses {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(2, 1fr); /* 3 sütunlu grid */
}

/* Mobil için tek sütun */
@media (max-width: 768px) {
    .tagaddress-saved-addresses {
        grid-template-columns: 1fr;
    }
}

.tagaddress-option {
    position: relative;
    margin-bottom: 15px;
    padding: 15px;
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.tagaddress-option:hover {
    border-color: #bbb;
}

.tagaddress-option.tagaddress-selected {
    border-color: #2271b1;
    background-color: #f0f7ff;
}

.tagaddress-option input[type="radio"] {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    margin: 0;
}

.tagaddress-option label {
    display: block;
    margin-left: 35px;
    cursor: pointer;
}

.tagaddress-option strong {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 15px;
}

.tagaddress-option p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Popup stilleri */
#tagaddress-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999;
}
.tagaddress-cancel-button{background:#d63638 !important;color:white !important;}
#billingformcek .form-actions{width:100%;}
#shippingformcek .form-actions{width:100%;}
.card-actions img{width:15px;}
.card-actions span{font-size:11px;}
#billingformcek #save-address-button{background: #27C55E !important;
    color: white !important;
    width: 100%;
    font-size: 1.1em;
    padding: 15px;
    border-radius: 6px;}
#shippingformcek #save-address-button{background: #27C55E !important;
    color: white !important;
    width: 100%;
    font-size: 1.1em;
    padding: 15px;
    border-radius: 6px;}
.islemtamamgorsel img{width:84px !important;}.islemtamambaslik{    font-weight: bold;
    color: black;
    font-size: 1.2em;
    margin-top: 15px;
    margin-bottom: 15px;}
    .islemtamambuton button{    width: 100%;
        padding: 15px;
        background: #27C55E !important;
        color: white !important;font-size: 1.2em !important;}
html.tagaddress-modal-open {
    overflow: hidden;
}

#tagaddress-popup-shipping,
#tagaddress-popup-billing {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    overflow-y: auto; /* Modal içinde scroll */
    -webkit-overflow-scrolling: touch; /* iOS için smooth scroll */
}


.tagaddress-popup-content {
    position: relative;
    background-color: #fff;
    width: 90%;
    max-width: 600px;
    margin: 20px auto;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tagaddress-close-popup {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 33px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
    line-height: 1;
}

.tagaddress-close-popup:hover {
    color: #333;
}

/* Form alanları */
.tagaddress-form-row {
    margin-bottom: 20px;
}

.tagaddress-form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.tagaddress-form-row input[type="text"],
.tagaddress-form-row input[type="email"],
.tagaddress-form-row input[type="tel"],
.tagaddress-form-row select,
.tagaddress-form-row textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.tagaddress-form-row input:focus,
.tagaddress-form-row select:focus,
.tagaddress-form-row textarea:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 1px #2271b1;
}

.tagaddress-form-row textarea {
    min-height: 100px;
    resize: vertical;
}

/* Radio buton grubu */
.tagaddress-radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.tagaddress-radio-group input[type="radio"] {
    margin-right: 5px;
}

.tagaddress-radio-group label {
    display: inline;
    margin: 0;
    font-weight: normal;
}

/* Buton stilleri */
.tagaddress-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2271b1;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s;
}

.tagaddress-button:hover {
    background-color: #135e96;
}

.tagaddress-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.tagaddress-button.tagaddress-cancel-button {
    background-color: #f0f0f1;
    color: #2c3338;
    margin-right: 10px;
}

.tagaddress-button.tagaddress-cancel-button:hover {
    background-color: #dcdcde;
}

.tagaddress-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Hata durumları */
.tagaddress-form-row.tagaddress-error input,
.tagaddress-form-row.tagaddress-error select,
.tagaddress-form-row.tagaddress-error textarea {
    border-color: #dc3232;
}

.tagaddress-no-address {
    font-style: italic;
    color: #666;
    margin: 15px 0;
}

/* Loading durumu */
.tagaddress-form-submitting {
    opacity: 0.7;
    pointer-events: none;
}

.tagaddress-form-submitting:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
}

/* Required yıldızı */
.tagaddress-required {
    color: #dc3232;
}

/* Hesabım sayfası adres stilleri */
/* Genel düzen: masaüstü görünümünde yan yana */
.tagaddress-manager {
    display: flex;
    flex-wrap: wrap;
    gap: 40px; /* Kartlar arasında boşluk */
}

/* Fatura ve teslimat adres kutuları eşit genişlikte olsun */
.tagaddress-manager > div {
    flex: 1 1 45%; /* İki sütun için yaklaşık %45 genişlik; gap da hesaba katılır */
    box-sizing: border-box;
}

/* Mobil görünüm için: alt alta sıralama */
@media (max-width: 768px) {
    .tagaddress-manager {
        flex-direction: column;
    }
    
    .tagaddress-manager > div {
        flex: 1 1 100%;
    }
}

.tagaddress-manager .tagaddress-saved-addresses{    grid-template-columns: repeat(2, minmax(0, 1fr));}

.tagaddress-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.tagaddress-section h3 {
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.tagaddress-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 5px;
    cursor:pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tagaddress-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tagaddress-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.tagaddress-card-header strong {
    font-size: 15px;
    color: #333;
}

.tagaddress-actions {
    display: flex;
    gap: 8px;
}

.tagaddress-actions button {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
    line-height: 1;
}

.tagaddress-actions button:hover {
    color: #333;
}

.tagaddress-edit-button:hover {
    background-color: #ffc107 !important; /* WordPress mavi */
    color: #080808 !important;
    border: none !important;
    padding: 4px 6px 4px 6px !important;
    border-radius: 5px !important;
    font-size: 11px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}
.tagaddress-saved-addresses .edit-btn:hover {
    background-color: #ffc107 !important; /* WordPress mavi */
    color: #080808 !important;
    border: none !important;
    padding: 4px 6px 4px 6px !important;
    border-radius: 5px !important;
    font-size: 11px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}
.tagaddress-delete-button:hover {
    color: #dc3232;
}

.tagaddress-card-content p {
    margin: 0;
    line-height: 1.6;
    color: #666;
    font-size: 14px;
}

.tagaddress-add-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top:10px;margin-bottom: 15px;
    background-color: #48a8ea !important;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s;
    width: auto;
    text-align: center;
}

.tagaddress-add-button:hover {
    background-color: #48a8eaba !important;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .tagaddress-popup-content {
        width: 95%;
        margin: 10px auto;
        padding: 15px;
    }

    .tagaddress-form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .tagaddress-button {
        width: 100%;
        margin: 0;
    }

    .tagaddress-button.tagaddress-cancel-button {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .tagaddress-radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

.tagfaturaturu{display:flex;align-items:center;gap:10px;}

.tagfaturaturualan{display:flex;align-items:center;gap:2px;}

.tagfaturaturualanlabel{margin-bottom:0px !important;}
.bireysel-kurumsal-field{}

.tagadsoyad{    display: flex;
        gap: 15px;
        align-items: center;
        margin-top: 15px;}
        .tagadsoyad .form-row{ width:50% !important;}
       

.tagtelefoneposta{    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 15px;}
    .tagtelefoneposta .form-row{ width:50% !important;}


    .tagvergidaireno{    display: flex;
        gap: 15px;
        align-items: center;
        }
        .tagvergidaireno div{ width:50% !important;}

    .tagililce{    display: flex;
        gap: 15px;
        align-items: center;
        margin-top: 15px;}
        .tagulke{
            margin-top: 15px;}
        .tagililce .form-row{ width:50% !important;}
        .tagadres{    display: flex;
            gap: 15px;
            min-height: 50px;
            align-items: center;
            margin-top: 15px;margin-bottom:15px;} .tagadres .form-row{width:100%;}


            /* Loading animasyonları */
.tagaddress-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tagaddress-loading .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Adres seçici stil düzenlemeleri */
.tagaddress-selector {
    margin-bottom: 30px;
}
.selectsecilmisadres{border: 2px solid #22c55e !important;padding:12px;background:cornsilk;border: 1px solid #ddd;position:relative;margin-top:10px;}
.tagaddress-option {
    position: relative;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
}

.tagaddress-option.selected {
    border-color: #2271b1;
    background-color: #f0f6fc;
}

.tagaddress-actions {
    position: absolute;
    right: 10px;
    top: 10px;
}



/* Buton stilleri */
.tagaddress-button {
    background-color: #2271b1;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.tagaddress-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Hidden alanları gizle */
.tagaddress-hidden-fields {
    display: none;
}





.iti__country-list {
    max-width: 300px !important; /* Dropdown menüsü genişlemesin */
    z-index: 99999999 !important; /* En üstte dursun */
}

.iti--container {
    max-width: 100% !important;
    height:300px !important;
    top:70px !important; left:0px !important;
    position: absolute !important;
    z-index: 99999999 !important;
}

.country-search {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.iti__country-list {
    max-height: 300px;
    overflow-y: auto;
}

.form-row {
    position: relative;
    margin-bottom: 15px;
}

.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea {
    border-color: #dc3232 !important;
}

.error-message {
    color: #dc3232;
    font-size: 12px;

    display: block;
}

/* Input focus durumunda hata rengi */
.form-row.has-error input:focus,
.form-row.has-error select:focus,
.form-row.has-error textarea:focus {
    border-color: #dc3232 !important;
    box-shadow: 0 0 0 1px #dc3232 !important;
}

/* Popup scroll düzenlemesi */
.tagaddress-popup-content {
    max-height: 90vh;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.form-general-error {
    background-color: #fff2f2;
    border: 1px solid #ffb8b8;
    border-radius: 4px;
    padding: 15px;
    width:100%;
    margin-bottom: 20px;
    position: relative;
}

.form-general-error .error-icon {
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 20px;
}

.form-general-error .error-title {
    color: #dc3232;
    font-weight: 600;
    margin-bottom: 10px;
    padding-left: 30px;
}

.form-general-error ul {
    margin: 0;
    padding-left: 45px;
    list-style-type: disc;
}

.form-general-error ul li {
    color: #666;
    font-size: 13px;
    margin-bottom: 5px;
}

.form-general-error ul li:last-child {
    margin-bottom: 0;
}

/* E-posta Doğrulama Ekranı */
#email-verification-screen {
    text-align: center;
    padding: 10px;
}

.verification-info {
    margin-bottom: 20px;
    color: #666;
}

.verification-code-inputs {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 eşit sütun */
    gap: 10px;
    justify-content: center;    /* Ortalıyoruz */
    margin-bottom: 20px;
  }
  
  .verification-code-inputs .code-input {
    aspect-ratio: 1;           /* kare oran */
    width: 100%;               /* sütunun tamamına yayıl */
    text-align: center;
    font-size: 20px;
    max-width:60px !important;
    border: 2px solid #ddd;
    height:auto !important;
    border-radius: 8px;
    background: #f8f9fa;
    /* vs. başka stiller */
  }
  @media (min-width: 992px) {
    .verification-code-inputs {
      width: 80%;       /* Genişliği %80 yap */
      margin: 0 auto; padding-bottom: 20px;  /* Ortalamak için otomatik margin */
    }
  }
.code-input:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 1px #2271b1;
}

.verification-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.verification-actions .button {
    min-width: 200px;
}

.resend-code {
    background: none !important;
    border: none;
    padding: 0 !important;
    color: #2271b1;
    cursor: pointer;
    text-decoration: underline;
}

/* Düzenle Butonu */
.tagaddress-edit-button {
    background-color: #ffc107 !important; /* WordPress mavi */
    color: #080808 !important;
    border: none !important;
    padding: 4px 6px 4px 6px !important;
    border-radius: 5px !important;
    font-size: 11px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}
.tagaddress-edit-button-checkout {
    background-color: #ffc107 !important; /* WordPress mavi */
    color: #080808 !important;
    border: none !important;
    padding: 4px 6px 4px 6px !important;
    border-radius: 5px !important;
    font-size: 10px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}
.tagaddress-edit-button:hover {
    background-color: #ffc107 !important; /* Daha koyu mavi */
}

.tagaddress-edit-button:disabled {
    background-color: #ffc107 !important;
    cursor: not-allowed !important;
}

/* Sil Butonu */
.tagaddress-delete-button {
    background-color: #d63638 !important; /* WordPress kırmızı */
    color: #fff !important;
    border: none !important;
    padding: 4px 6px 4px 6px !important;
    border-radius: 5px !important;
    font-size: 11px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}
.tagaddress-delete-button-checkout {
    background-color: #d63638 !important; /* WordPress kırmızı */
    color: #fff !important;
    border: none !important;
    padding: 4px 6px 4px 6px !important;
    border-radius: 5px !important;
    font-size: 10px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}
.tagaddress-delete-button:hover {
    background-color: #d63638 !important; /* WordPress kırmızı */
    color: #fff !important;
    border: none !important;
    padding: 4px 6px 4px 6px !important;
    border-radius: 5px !important;
    font-size: 11px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}

.tagaddress-delete-button:disabled {
    background-color: #cccccc !important;
    cursor: not-allowed !important;
}

.verification-success {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.verification-success h3 {
    color: #28a745;
    font-size: 20px;
    margin-bottom: 10px;
}

.verification-success p {
    color: #333;
    margin-bottom: 15px;
}

.verification-success .close-popup {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.verification-success .close-popup:hover {
    background-color: #005177;
}


.tagfaturaturu {
    display: flex;
    gap: 16px;
   
   
    border-radius: 8px;
    max-width: 600px;
    margin: 10px 0;
}

.tagfaturaturualan {
    flex: 1;
    position: relative;
    background: #FBFBFB;
    
}
.tagfaturaturualan input[type="radio"]:not(:checked) + label {
    border: 2px solid #E6E6E6;border-radius: 8px;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-weight:bold;
    text-align:center;
}
.tagfaturaturualan input[type="radio"] {
    display: none;
}
#new-address-form label{font-weight:bold;}
.tagfaturaturualanlabel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background-color: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    font-weight: 500;
    color: #666;
    width: 100%;
}





.tagfaturaturualan input[type="radio"]:checked + label {
    background-color: #fff;
    border:2px solid #f27a1a !important;
    font-weight:bold;
    color: #f27a1a;
    text-align:center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}



/* Hover efekti */
.tagfaturaturualanlabel:hover {
    background-color: #f0f0f0;
}

.tagfaturaturualan input[type="radio"]:checked + label:hover {
    background-color: #fff;
}
.adreslerbaslik{font-weight: bold;
    font-size: 1.5em;
    color: black;}

/* Grid Layout */
.tagaddress-saved-addresses {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* minmax ile eşit genişlik */
}

@media (max-width: 768px) {
    .tagaddress-saved-addresses {
        grid-template-columns: 1fr;
    }
}










.tagaddress-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: relative;
    border: 1px solid #e5e7eb;
}

.card-header {
    margin-bottom: 5px;
}

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

.name-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.type-badge {
    padding: 4px 8px;
    background-color: #f3f4f6;
    border-radius: 4px;
}

.type-badge span {
    font-size: 12px;
    color: #6b7280;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-wrap: break-word; /* Uzun kelimeleri böler */
    word-wrap: break-word;     /* Eski tarayıcılar için destek */
}

.card-body span {
    font-size: 12px !important;
    color: #374151;
    line-height: 1.5;
    max-width: 100%;          /* Genişliği sınırla */
    white-space: normal;      /* Normal metin sarma */
    overflow: hidden;         /* Taşan içeriği gizle */
    text-overflow: ellipsis;  /* Taşan metin için ... göster */
}

/* Özellikle adres satırı için */
.card-body .address-line {
    word-break: break-word;   /* Gerektiğinde kelimeleri böl */
}



.card-body .fullname {
    font-weight: 600;
  
}

.card-actions {
    display: flex;
    gap: 4px;
    margin-top: 16px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}
.selectsecilmisadresbaslik{    font-weight: bold;
    margin-bottom: 10px;
    color: black;
    font-size: 14px;}
.delete-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #374151;
    font-size: 11px;
    cursor: pointer;
    padding: 8px 12px;
}

.delete-btn svg {
    fill: currentColor;
}

.edit-btn {
    padding: 8px 16px;
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #374151;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}



/* Seçili kart stilleri */
.tagaddress-card.selected {
    border-color: #b5b5b5;
    background: #fff !important;
    box-shadow: 0 0 0 2px rgba(251, 252, 255, 0.92);
}

.submit-verification-code{ background: #22c55e !important;color:white !important;width: 100% !important;
    font-size: 1.1em !important;}

    .tag-default-badge{margin-top:10px;text-align:center;}
    .tag-varsayilan{background: #22c55e !important;color:white !important;padding:6px;font-size:11px;}
    .tag-varsayilanayarla{background: #d8e2db !important;color:black !important;padding:6px;font-size:11px;}
    .selecting-message {
        font-size: 13px;
        font-weight: bold;
        color: #3498db;
        text-align: center;
        padding: 20px 0;
        animation: pulse 1s infinite alternate;
    }
    
    @keyframes pulse {
        from { opacity: 0.7; }
        to { opacity: 1; }
    }
   .verification-info-yanlis{font-size: 12px;} 
.tagaddress-card.selected:after {
    content: '✓';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 24px;
    height: 24px;
    background: #22c55e;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.address-radio-input {
    position: absolute;
    opacity: 0;
}

/* Mobil için responsive tasarım */
@media (max-width: 640px) {
    .card-actions {
        flex-direction: column;
    }
    
    .edit-btn {
        width: 100%;
        text-align:center;
    }
    
    .delete-btn {
        justify-content: center;
    }
}


.selectsecilmisadres:after {
    content: '✓';
    position: absolute;
    top: 0px;
    left: -12px;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: #22c55e;
    border-radius: 50%;
    color: cornsilk;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


/* Form Satırları */
.tagadres-form-row-container {
    display: flex;
    flex-wrap: wrap; /* Taşarsa alt satıra geçsin */
    gap: 10px; /* Elemanlar arası boşluk */
}

/* Tam genişlikte alanlar */
.tagadres-form-row.full-width {
    flex-basis: 100%;
}
.tagaddress-popup-content .form-row{margin-bottom:0px !important;margin-top:0px !important;}
.tagaddress-popup-content .tagadres-form-row input,textarea,select{margin-bottom:10px !important;}
.tagaddress-popup-content label{font-weight: 900 !important;
    font-size: 0.9em !important;}
.zorunluform{color: #E01020;}
/* Yarım genişlikte alanlar */
.tagadres-form-row.half-width {
    flex-basis: calc(50% - 5px); /* Yarım genişlik ama boşlukları da hesapla */
}

/* Mobil ekranlar için genişlik sınıfları */
@media (max-width: 768px) {
    /* Tam genişlikte alanlar - Mobil */
    .tagadres-form-row.fullmobil-width {
        flex-basis: 100% !important;
        width: 100% !important;
    }
    
    /* Yarım genişlikte alanlar - Mobil */
    .tagadres-form-row.halfmobil-width {
        flex-basis: calc(50% - 5px) !important; 
        width: calc(50% - 5px) !important;
    }
    
    /* Masaüstünde yarım genişlikte olup mobilde tam genişlikte olması gereken alanlar */
    .tagadres-form-row.half-width:not(.halfmobil-width) {
        flex-basis: 100% !important;
        width: 100% !important;
    }
}
/* Order form alanları için masaüstü genişlik ayarları */
.tagadres-form-orderrow.full-width {
    width: 100% !important;
    clear: both !important;
    float: none !important;
}

.tagadres-form-orderrow.half-width {
    width: 48% !important;
    float: left !important;
    clear: none !important;
    margin-right: 2% !important;
}

/* Çift numaralı half-width alanlar için margin-right sıfırla */
.tagadres-form-orderrow.half-width:nth-child(even) {
    margin-right: 0 !important;
}

/* Mobil ekranlar için genişlik sınıfları */
@media (max-width: 768px) {
    /* Tam genişlikte alanlar - Mobil */
    .tagadres-form-orderrow.fullmobil-width {
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }
    
    /* Yarım genişlikte alanlar - Mobil */
    .tagadres-form-orderrow.halfmobil-width {
        width: 48% !important;
        float: left !important;
        clear: none !important;
        margin-right: 2% !important;
    }
    
    /* Masaüstünde yarım, mobilde tam genişlikte alanlar için */
    .tagadres-form-orderrow.half-width:not(.halfmobil-width) {
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }
    
    /* Mobilde çift numaralı halfmobil-width alanlar için margin-right sıfırla */
    .tagadres-form-orderrow.halfmobil-width:nth-child(even) {
        margin-right: 0 !important;
    }
}

/* WooCommerce'in kendi yapısına uyum için ek düzenlemeler */
.woocommerce .form-row.tagadres-form-orderrow {
    padding: 3px;
    margin: 0 0 10px;
}

/* WooCommerce girdi alanları için ek düzenlemeler */
.woocommerce-input-wrapper {
    width: 100%;
    display: block;
}
.iti__selected-country{background:none !important;padding:0px !important;gap:0px !important;}

#custom_additional_fields .full-width {
    flex-basis: 100%;
}
p.form-row-last{float: none !important;}
p:where(.form-row-first,.form-row-last){width:100% !important;}
#custom_additional_fields{
display: flex;gap: 10px;
    flex-wrap: wrap;
    margin-top:10px;
}

/* Yarım genişlikte alanlar */
#custom_additional_fields .half {
    flex-basis: calc(50% - 5px); /* Yarım genişlik ama boşlukları da hesapla */
}


.address-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.loading-content p {
    color: #333;
    font-size: 16px;
    margin: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Popup Overlay */
#address-added-success,
#address-edited-success,
#address-deleted-success,#address-defaultset-success {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999;
}

/* Success Popup Content */
#address-added-success .verification-success,
#address-edited-success .verification-success,
#address-deleted-success .verification-success,
#address-defaultset-success .verification-success {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    text-align: center;
}

/* Başlık ve mesaj */
#address-added-success .verification-success h3,
#address-edited-success .verification-success h3,
#address-defaultset-success .verification-success h3,
#address-deleted-success .verification-success h3 {
    margin-top: 0;
    font-size: 20px;
    color: #2271b1;
}

#address-added-success .verification-success p,
#address-edited-success .verification-success p,
#address-defaultset-success .verification-success p,
#address-deleted-success .verification-success p {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

/* Kapat butonu */
#address-added-success .verification-success .close-popup,
#address-edited-success .verification-success .close-popup,
#address-defaultset-success .verification-success .close-popup,
#address-deleted-success .verification-success .close-popup {
    background-color: #2271b1;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#address-added-success .verification-success .close-popup:hover,
#address-edited-success .verification-success .close-popup:hover,
#address-defaultset-success .verification-success .close-popup:hover,
#address-deleted-success .verification-success .close-popup:hover {
    background-color: #135e96;
}


/* Mobil selector varsayılan olarak gizli */
.tagaddress-mobile-selector {
    display: none;
 
    margin-top: 20px;
    color: black;
}
.adresseciminiz{font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;}
.tagaddress-select {
    width: 100%;
   
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Mobil görünüm için medya sorgusu */
/* style.css içine eklenecek */
@media (max-width: 768px) {
    .tagaddress-mobile-selector {
        display: block;
    }
    
    /* Fatura adresleri için */
    .tagaddress-saved-addresses .tagaddress-card[id^="card_billing_"] {
        display: none !important;
    }
    
    .tagaddress-saved-addresses .tagaddress-card[id^="card_billing_"].selected {
        display: flex !important;
    }
    
    /* Teslimat adresleri için */
    .tagaddress-saved-addresses .tagaddress-card[id^="card_shipping_"] {
        display: none !important;
    }
    
    .tagaddress-saved-addresses .tagaddress-card[id^="card_shipping_"].selected {
        display: flex !important;
    }
}


/* style.css'e eklenecek CSS */

/* İncele butonu için stil */
.tagaddress-view-button,.tagaddress-edit-button,.tagaddress-delete-button {
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: center;
    gap: 5px;
}

.view-btn img {
    width: 15px;
    
}

/* Detay popup stili */
#address-detail-popup {
    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;
}

#address-detail-popup .tagaddress-popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.tagaddress-detail-popup h3 {
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.detail-section {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
}

.detail-label {
    font-weight: bold;
    min-width: 150px;
    color: #555;
}

.detail-value {
    flex: 1;
}

.detail-actions {
    margin-top: 20px;
    text-align: right;
}

.additional-details {
    margin-top: 30px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.detail-row {
    display: flex;
    flex-direction: column;
    font-size: 0.9em;
    padding: 5px;
    background-color: #f9f9f9;
    border-radius: 3px;
}

.detail-field-key {
    font-size: 0.8em;
    color: #777;
    margin-bottom: 2px;
}

.detail-field-value {
    word-break: break-word;
}

/* Responsive ayarlar */
@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-section {
        flex-direction: column;
    }
    
    .detail-label {
        margin-bottom: 4px;
    }
}

.tagaddress-view-button{    background-color: #2291c5 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 4px 6px 4px 6px !important;
    border-radius: 5px !important;
    font-size: 11px !important;
    cursor: pointer !important;
    transition: background-color 0.3sease !important;}