/* === DANIŞAN ÖZEL HEADER === */
.danisan-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
   }
.header-icon {
    margin-bottom: 15px;
}
.header-image-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.danisan-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 300;
}

.danisan-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* === NAVİGASYON === */
.danisan-navigation {
    background: #34495e;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-tabs {
    display: flex;
    list-style: none;
    margin: 0;
    flex-wrap: wrap;
}

.nav-tabs li {
    margin: 0;
}

.nav-tabs a {
    display: block;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-tabs a.active {
    background: rgba(255,255,255,0.1);
    border-bottom-color: #ff7e5f;
}

.nav-tabs a:hover {
    background: rgba(255,255,255,0.05);
}

/* === RANDEVU BUTONU === */
.appointment-nav {
    display: flex;
    align-items: center;
}

.appointment-btn {
    background: linear-gradient(135deg, #27ae60 0%, #219a52 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.appointment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

/* === İÇERİK ALANI === */
.danisan-content {
    padding: 30px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* === RANDEVU YÖNETİMİ === */
.appointment-management {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.appointment-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.appointment-card {
    padding: 20px;
}

.appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ecf0f1;
}

.appointment-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

.appointment-icon {
    font-size: 1.5rem;
}

.appointment-info {
    margin-bottom: 15px;
}

.appointment-info p {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.info-label {
    font-weight: 600;
    color: #7f8c8d;
}

/* === FORMLAR === */
.form-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* === DANIŞAN LİSTESİ === */
.patients-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.patient-card {
    padding: 20px;
    position: relative;
}

.patient-card.active {
    border-left: 4px solid #27ae60;
}

.patient-card.completed {
    border-left: 4px solid #e74c3c;
}

.patient-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ecf0f1;
}

.patient-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

.patient-id {
    background: #3498db;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.patient-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-value {
    font-weight: 600;
    color: #2c3e50;
}

.patient-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-active { background: #d4edda; color: #155724; }
.status-completed { background: #fff3cd; color: #856404; }
.status-waiting { background: #d1ecf1; color: #0c5460; }

.patient-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* === ARAMA VE FİLTRELEME === */
.search-filters {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
}

.filter-select {
    min-width: 200px;
}

.filter-select select {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
}

/* === İSTATİSTİKLER === */
.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: 30px;
}

.stat-card {
    text-align: center;
    padding: 25px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-trend {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.trend-up { color: #27ae60; }
.trend-down { color: #e74c3c; }

.stat-label {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.chart-container {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.chart-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* === TABLO STİLLERİ === */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.data-table th {
    background: #34495e;
    color: white;
    font-weight: 600;
}

.data-table tr:hover {
    background: #f8f9fa;
}
.section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.section-title-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.section-title {
   font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: left;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
    .danisan-header h1 {
        font-size: 2rem;
    }
    
    .nav-tabs {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-tabs a {
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .danisan-navigation {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .appointment-nav {
        width: 100%;
        justify-content: center;
    }
    
    .appointment-btn {
        width: 100%;
        justify-content: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .patients-grid {
        grid-template-columns: 1fr;
    }
    
    .patient-info {
        grid-template-columns: 1fr;
    }
    
    .search-filters {
        flex-direction: column;
    }
    
    .search-box, .filter-select {
        min-width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .data-table {
        font-size: 0.9rem;
    }
    .social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}
}

@media (max-width: 480px) {
    .danisan-content {
        padding: 20px;
    }
    
    .patient-actions {
        flex-direction: column;
    }
    
    .appointment-management,
    .form-section {
        padding: 20px;
    }
    @media (max-width: 768px) {
    .header-image-icon {
        width: 50px;
        height: 50px;
    }
    
    .section-title-wrapper {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .section-title-icon {
        width: 35px;
        height: 35px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .social-icon {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .danisan-header h1 {
        font-size: 2rem;
    }
    
    .header-image-icon {
        width: 40px;
        height: 40px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-title-icon {
        width: 30px;
        height: 30px;
    }
    
    .social-icon {
        width: 24px;
        height: 24px;
    }
    
    .social-links {
        gap: 10px;
    }
}
}