.cicek-otomati-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.cicek-otomati-map-section {
    flex: 1 1 60%;
    min-width: 300px;
}

.cicek-otomati-map-section #cicek-otomati-map {
    height: 600px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    z-index: 1;
}

.cicek-otomati-list-section {
    flex: 1 1 35%;
    min-width: 280px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 5px;
}

.cicek-otomati-list-section::-webkit-scrollbar {
    width: 6px;
}

.cicek-otomati-list-section::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.cicek-otomati-region-group {
    margin-bottom: 24px;
}

.cicek-otomati-region-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e74c3c;
    cursor: pointer;
    transition: color 0.2s;
}

.cicek-otomati-region-title:hover {
    color: #e74c3c;
}

.cicek-otomati-machine-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cicek-otomati-machine-item {
    padding: 10px 12px;
    margin-bottom: 6px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #27ae60;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cicek-otomati-machine-item:hover {
    background: #e8f5e9;
    border-left-color: #e74c3c;
    transform: translateX(3px);
}

.cicek-otomati-machine-item strong {
    display: block;
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 3px;
}

.cicek-otomati-machine-item .machine-address {
    font-size: 12px;
    color: #7f8c8d;
}

.cicek-otomati-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cicek-otomati-btn {
    display: block;
    text-align: center;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cicek-otomati-btn-request {
    background: #e74c3c;
    color: #fff;
}

.cicek-otomati-btn-request:hover {
    background: #c0392b;
    color: #fff;
}

.cicek-otomati-btn-locate {
    background: #27ae60;
    color: #fff;
}

.cicek-otomati-btn-locate:hover {
    background: #219a52;
    color: #fff;
}

/* Popup */
.cicek-otomati-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cicek-otomati-popup-content {
    background: #fff;
    border-radius: 12px;
    max-width: 480px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.cicek-otomati-popup-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    font-weight: 700;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
}

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

.cicek-otomati-popup-body h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 20px;
}

.cicek-otomati-popup-body .info-row {
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.cicek-otomati-popup-body .info-row strong {
    color: #2c3e50;
    display: inline-block;
    min-width: 100px;
}

.cicek-otomati-popup-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.cicek-otomati-popup-actions .cicek-otomati-btn {
    flex: 1;
    font-size: 14px;
    padding: 10px 16px;
}

/* Leaflet popup customization */
.leaflet-popup-content-wrapper {
    border-radius: 8px !important;
    box-shadow: 0 3px 14px rgba(0,0,0,0.15) !important;
}

.machine-popup-content h4 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 16px;
}

.machine-popup-content p {
    margin: 4px 0;
    font-size: 13px;
    color: #555;
}

.machine-popup-content .popup-actions {
    margin-top: 10px;
    display: flex;
    gap: 8px;
}

.machine-popup-content .popup-actions a {
    flex: 1;
    text-align: center;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.popup-btn-directions {
    background: #3498db;
    color: #fff;
}

.popup-btn-directions:hover {
    background: #2980b9;
    color: #fff;
}

.popup-btn-location {
    background: #27ae60;
    color: #fff;
}

.popup-btn-location:hover {
    background: #219a52;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .cicek-otomati-wrapper {
        flex-direction: column;
    }
    .cicek-otomati-map-section,
    .cicek-otomati-list-section {
        flex: 1 1 100%;
    }
    .cicek-otomati-map-section #cicek-otomati-map {
        height: 400px;
    }
    .cicek-otomati-list-section {
        max-height: none;
        overflow-y: visible;
    }
}
