﻿


.hospital-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 40px;
}

.hospital-illustration {
    margin-bottom: 16px;
}

    .hospital-illustration svg {
        width: 120px;
        height: 90px;
    }

.hospital-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.hospital-info p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 16px;
}

.hospital-profile-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .hospital-profile-btn:hover {
        background: #0056b3;
    }

.settings {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: auto;
}

.settings-icon {
    width: 20px;
    height: 20px;
}



.back-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

    .back-btn:hover {
        background: #f1f5f9;
    }

    .back-btn svg {
        width: 20px;
        height: 20px;
        color: #64748b;
    }


.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    transition: border-color 0.2s ease;
}

    .search-input:focus {
        outline: none;
        border-color: #007bff;
    }

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #94a3b8;
}

.view-controls {
    display: flex;
    gap: 8px;
}

.view-btn {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .view-btn:hover {
        background: #f8fafc;
    }

    .view-btn.active {
        background: #007bff;
        border-color: #007bff;
    }

    .view-btn svg {
        width: 16px;
        height: 16px;
        color: #64748b;
    }

    .view-btn.active svg {
        color: white;
    }

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.filter-tab {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .filter-tab:hover {
        background: #f8fafc;
    }

    .filter-tab.active {
        background: #007bff;
        color: white;
        border-color: #007bff;
    }

/* Doctors Grid */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.doctor-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    position: relative;
}

    .doctor-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transform: translateY(-2px);
    }

    .doctor-card.featured {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }

.doctor-rating {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
}

.star {
    width: 12px;
    height: 12px;
}

.doctor-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid #f1f5f9;
}

.doctor-card.featured .doctor-image {
    border-color: rgba(255, 255, 255, 0.3);
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-card h3 {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4px;
}

.doctor-address {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    margin-bottom: 12px;
}

.doctor-card.featured .doctor-address {
    color: rgba(255, 255, 255, 0.8);
}

.doctor-specialty {
    background: #e0f2fe;
    color: #0277bd;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.doctor-card.featured .doctor-specialty {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.doctor-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #64748b;
}

    .action-btn:hover {
   
    }

.doctor-card.featured .action-btn {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

    .doctor-card.featured .action-btn:hover {
        background: rgba(255, 255, 255, 0.2);
    }

.action-btn svg {
    width: 14px;
    height: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        padding: 16px;
    }

    .nav-menu {
        flex-direction: row;
        overflow-x: auto;
        gap: 12px;
        margin-bottom: 20px;
    }

    .nav-item {
        white-space: nowrap;
    }

    .hospital-info {
        display: none;
    }

    .main-content {
        padding: 16px;
    }

    .header {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .header-left {
        justify-content: center;
    }

    .search-container {
        max-width: none;
    }

    .view-controls {
        justify-content: center;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .filter-tabs {
        gap: 4px;
    }

    .filter-tab {
        padding: 6px 12px;
        font-size: 11px;
    }

    .doctor-actions {
        flex-direction: column;
    }
}
