/* ==== VARIABEL ==== */
:root {
    --primary: #1a73e8;
    --primary-dark: #0d47a1;
    --primary-light: #e8f0fe;
    --accent: #34a853;
    --text-dark: #202124;
    --text-medium: #5f6368;
    --text-light: #9aa0a6;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #dadce0;
    --gray-dark: #e8eaed;
    --shadow: 0 1px 2px rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15);
    --shadow-hover: 0 4px 8px rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15);
    --radius: 12px;
    --transition: all .3s ease;
}

/* ==== MAIN LAYOUT ==== */
.konsul-telemedicine {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.konsul-main-content {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.konsul-left-column {
    flex: 1;
    min-width: 300px;
}

.konsul-right-column {
    flex: 2;
    min-width: 300px;
}

/* ==== CARD ==== */
.konsul-section-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid var(--gray-dark);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: var(--transition);
}

.konsul-section-card:hover {
    box-shadow: var(--shadow-hover);
}

.konsul-sectiontitle {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
    color: var(--primary-dark);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.konsul-sectiontitle i {
    font-size: 28px;
    color: var(--primary);
}

/* ==== TELEMEDICINE LEFT ==== */
.konsul-telemedicine-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.konsul-telemedicine-image {
    background: linear-gradient(135deg, var(--primary-light), #bbdefb);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.konsul-telemedicine-image i {
    font-size: 120px;
    color: var(--primary);
    opacity: .8;
}

.konsul-benefit-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-dark);
}

.konsul-benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.konsul-benefits-list li {
    padding: 12px 0 12px 40px;
    position: relative;
    border-bottom: 1px solid var(--gray-dark);
}

.konsul-benefits-list li:last-child {
    border-bottom: none;
}

.konsul-benefits-list li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
}

/* ==== SEARCH ==== */
.konsul-search-container {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

.konsul-search-container input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--gray-medium);
}

.konsul-search-container button {
    padding: 12px 20px;
    border-radius: 8px;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-weight: 600;
    cursor: pointer;
}

/* ==== DOCTORS ==== */
.konsul-doctors-section {
    position: sticky;
    top: 100px;
}

.konsul-doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 20px;
}

/* FIX avatar ukuran seragam */
.konsul-doctor-avatar-sm {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.konsul-doctor-avatar-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.konsul-doctor-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-dark);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.konsul-doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.konsul-doctor-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 20px 15px;
    display: flex;
    gap: 15px;
    color: var(--white);
}

.konsul-doctor-name {
    font-size: 18px;
    font-weight: 600;
}

.konsul-doctor-specialty {
    opacity: .9;
    font-size: 14px;
}

.konsul-doctor-info-card {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.konsul-info-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.konsul-info-item:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.konsul-info-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 8px;
    font-size: 16px;
    flex-shrink: 0;
}

.konsul-info-text {
    flex: 1;
}

.konsul-info-text h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.konsul-info-text p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.5;
    margin: 0;
}

/* BUTTON */
.konsul-action-buttons {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
}

.konsul-btnD {
    padding: 14px 20px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    display: block;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.konsul-btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.konsul-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

.konsul-btn-primary i {
    margin-right: 8px;
}

/* PAGINATION */
.konsul-pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.konsul-pagination ul {
    list-style: none;
    display: flex;
    gap: 8px;
}

/* ==== RESPONSIVE ==== */
@media (max-width:992px) {
    .konsul-main-content {
        flex-direction: column;
    }
}

@media (max-width:768px) {
    .konsul-doctors-grid {
        grid-template-columns: 1fr;
    }
}


/* ==== SEARCH INFO ==== */
.konsul-search-info {
    background: #e3f2fd;
    border-left: 4px solid var(--primary);
    padding: 12px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    animation: slideDown 0.3s ease;
}

.konsul-search-info p {
    margin: 0;
    color: var(--text-dark);
    font-size: 14px;
}

.konsul-search-info i {
    color: var(--primary);
    margin-right: 8px;
}

/* ==== SEARCH CONTAINER IMPROVEMENTS ==== */
.konsul-search-container {
    position: relative;
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.konsul-search-container input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--gray-medium);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.konsul-search-container input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.konsul-search-container button {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.konsul-search-container button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.konsul-btn-clear {
    padding: 12px 16px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.konsul-btn-clear:hover {
    background: #d32f2f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ==== NO RESULTS ==== */
.konsul-no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--gray-light);
    border-radius: var(--radius);
    margin: 20px 0;
}

.konsul-no-results-icon {
    margin-bottom: 20px;
    color: var(--text-light);
}

.konsul-no-results h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.konsul-no-results p {
    color: var(--text-medium);
    margin-bottom: 30px;
    font-size: 16px;
}

/* ==== ANIMATIONS ==== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
    .konsul-search-container {
        flex-direction: column;
    }
    
    .konsul-search-container button,
    .konsul-btn-clear {
        width: 100%;
    }
    
    .konsul-search-info {
        font-size: 13px;
    }
}
