/* assets/css/wcas-frontend.css */
.wcas-details-if-checked { 
    /* display: none; JS bunu yönetecek, ancak başlangıçta gizli olması için eklenebilir veya JS'e bırakılabilir */
}
.wcas-assembly-modal {
    display: none; 
    position: fixed; 
    z-index: 100002; /* Diğer tüm elementlerin üzerinde olması için çok yüksek bir z-index */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0,0,0,0.7); /* Arka planı biraz daha koyu yapabiliriz */
}
.wcas-modal-content {
    background-color: #fff;
    margin: 10vh auto; 
    padding: 25px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 5px;
    position: relative; 
    font-size: 14px; 
}
.wcas-modal-content h4 {
    font-size: 18px; 
    margin-bottom: 15px;
    margin-top:0; /* Ekledim */
}
.wcas-modal-content p {
    font-size: 1em; 
    line-height: 1.5;
    margin-bottom: 10px;
}
.wcas-modal-close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px; 
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
}
.wcas-modal-close-button:hover,
.wcas-modal-close-button:focus {
    color: #333;
    text-decoration: none;
}
.wcas-provinces-list {
    list-style: none;
    padding-left: 0;
    max-height: 200px; 
    overflow-y: auto; 
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-top: 15px;
    margin-bottom: 15px;
}
.wcas-provinces-list li {
    padding: 8px 5px;
    border-bottom: 1px dotted #f0f0f0;
}
.wcas-provinces-list li:last-child {
    border-bottom: none;
}

/* Ana sarmalayıcı için genel stil */
.wcas-assembly-options-wrapper {
    margin-bottom: 20px; 
    padding: 15px; 
    border: 1px solid #eee; 
    border-radius: 4px;
}
.wcas-assembly-options-wrapper h3 {
    margin-top:0;
}

.wcas-assembly-options-wrapper {
    position: relative;
}
button.wcas-open-modal-button {
    position: absolute;
    top: 10px;
    right: 8px;
    padding: 0;
    font-size: 1.8em !important;
    border-radius: 50%;
    color: #000 !important;
    background-color: transparent !important;
}

/* === Montaj hizmeti switcher’ı === */
.wcas-switch-wrapper{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:10px;
}

.wcas-switch{
    position:relative;
    display:inline-block;
    width:48px;
    height:26px;
}

.wcas-switch input{
    opacity:0;
    width:0;
    height:0;
}

.wcas-slider{
    position:absolute;
    cursor:pointer;
    top:0; left:0; right:0; bottom:0;
    background:#ccc;
    transition:.4s;
    border-radius:34px;
}

.wcas-slider:before{
    content:"";
    position:absolute;
    height:20px; width:20px;
    left:3px; bottom:3px;
    background:#fff;
    transition:.4s;
    border-radius:50%;
}

.wcas-switch input:checked + .wcas-slider{
    background:#00a0d2;          /* WooCommerce mavi tonu */
}

.wcas-switch input:checked + .wcas-slider:before{
    transform:translateX(22px);
}

.wcas-switch-text{
    font-weight:600;
    user-select:none;
}
