:root {
    --primary-color: #007bff; /* Cambiar por el color de tu marca */
    --secondary-color: #6c757d;
    --bg-light: #f8f9fa;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Estructura General */
.dokter-wrapper {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Bar */
.dokter-header-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #555;
    background: var(--bg-light);
    padding: 10px 15px;
    border-radius: 8px;
}

/* Search Bar */
.dokter-search-bar {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 15px;
    margin-bottom: 25px;
    align-items: end;
}

@media(max-width: 768px) {
    .dokter-search-bar { grid-template-columns: 1fr; }
}

.dokter-input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: #333;
}

.dokter-input-group input, 
.dokter-input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.dokter-input-group input:focus { border-color: var(--primary-color); outline: none; }

.dokter-btn-main, .dokter-btn-secondary, .dokter-btn-gp {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s;
}

.dokter-btn-main:hover { transform: translateY(-2px); }

/* Resultados y Mapa */
.dokter-results-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 500px; /* Altura fija para scroll */
}

@media(max-width: 768px) {
    .dokter-results-container { grid-template-columns: 1fr; }
}

.dokter-list {
    overflow-y: auto;
    padding-right: 10px;
}

/* Cards */
.dokter-card {
    display: flex;
    gap: 15px;
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    transition: box-shadow 0.3s;
}

.dokter-card:hover { box-shadow: var(--shadow); }

.dokter-card-img img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.dokter-card-info h4 { margin: 0 0 5px 0; font-size: 1.1rem; }
.dokter-badge {
    background: #eef2ff;
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}
.dokter-location { font-size: 0.85rem; color: #777; margin: 5px 0; }
.dokter-btn-profile {
    display: inline-block;
    margin-top: 5px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* MODAL */
.dokter-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hidden { display: none !important; }

.dokter-modal-content {
    background: #fff;
    width: 90%;
    max-width: 800px;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.dokter-close-modal {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 2rem;
    cursor: pointer;
}

.dokter-gp-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.dokter-input-wrapper { position: relative; flex-grow: 1; }

.dokter-suggestions-box {
    position: absolute;
    top: 100%; left: 0; width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
}
.dokter-suggestion-item {
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}
.dokter-suggestion-item:hover { background: #f9f9f9; }