/* === GENEL RESET ve TEMEL === */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Poppins', Arial, sans-serif;
    background: #f4f6fb;
    color: #222;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100%;
}

/* === LAYOUT === */
.dashboard-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 48px 16px 32px 16px;
    margin-top: 0;
    overflow-x: hidden;
}
.dashboard-content {
    display: flex;
    gap: 36px;
    max-width: 100%;
}

/* === TUTARLI HEADER TASARIMI === */
.dashboard-header {
    background: linear-gradient(135deg, #4263eb 0%, #4ecdc4 100%);
    color: #fff;
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(66, 99, 235, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.dashboard-header-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.dashboard-header-left h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #fff;
}

.dashboard-header-left p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    color: #fff;
}

.dashboard-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info span {
    font-weight: 600;
    color: #fff;
}

.user-info .btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-info .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

/* === SABİT SIDEBAR === */
.sidebar {
    width: 250px;
    min-height: calc(100vh);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(66,99,235,0.07);
    padding: 28px 0 28px 0;
    position: sticky;
    top: 16px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sidebar-menu ul, .sidebar-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar-menu {
    list-style: none;
}
.sidebar-menu li { margin-bottom: 4px; }
.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 28px;
    color: #3a3a3a;
    border-radius: 8px;
    font-size: 1.07rem;
    font-weight: 500;
    background: none;
    transition: background 0.18s, color 0.18s;
    letter-spacing: 0.01em;
}
.sidebar-menu a.active,
.sidebar-menu a:hover {
    background: #f0f3ff;
    color: #4263eb;
}
.sidebar-menu .badge {
    background: #ff4757;
    color: #fff;
    font-size: 0.85rem;
    border-radius: 12px;
    padding: 2px 8px;
    margin-left: auto;
}

/* === ANA İÇERİK === */
.main-content {
    background: #fff;
    border-radius: 18px;
    padding: 2.2rem 2.5rem;
    box-shadow: 0 4px 24px rgba(66,99,235,0.07);
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* === KARTLAR ve KUTULAR === */
.card, .chart-container, .table-container {
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(66, 99, 235, 0.08);
    padding: 2rem 2.2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(66, 99, 235, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.card::before, .chart-container::before, .table-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4263eb, #4ecdc4, #45b7d1);
    border-radius: 20px 20px 0 0;
}

.card:hover, .chart-container:hover, .table-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(66, 99, 235, 0.12);
    border-color: rgba(66, 99, 235, 0.15);
}
.chart-title {
    font-size: 1.13rem;
    font-weight: 600;
    color: #4263eb;
    margin-bottom: 1rem;
    border-left: 3px solid #4263eb;
    padding-left: 10px;
}

/* === DASHBOARD STATS === */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}
.stat-card {
    background: #f6f8fe;
    color: #222;
    padding: 1.2rem 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(66,99,235,0.04);
    border: 1px solid #e3e8f7;
    transition: box-shadow 0.18s;
}
.stat-card:hover {
    box-shadow: 0 4px 18px rgba(66,99,235,0.10);
}
.stat-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.stat-card p {
    font-size: 0.97rem;
    opacity: 0.8;
}
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.7rem;
    margin-bottom: 0.2rem;
}
.quick-actions a {
    flex: 1 1 180px;
    min-width: 160px;
    max-width: 100%;
    margin-bottom: 0;
    font-size: 1rem;
}
.quick-actions a.btn-primary {
    background: #4263eb;
    color: #fff;
    border: none;
}
.quick-actions a.btn-primary:hover {
    background: #2746b0;
}
.quick-actions a.btn-outline {
    background: #fff;
    color: #4263eb;
    border: 1.5px solid #4263eb;
}
.quick-actions a.btn-outline:hover {
    background: #4263eb;
    color: #fff;
}
.feedback-content {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.feedback-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 0.5rem;
}
.feedback-item {
    font-size: 1rem;
    color: #333;
}
.feedback-label {
    font-weight: 500;
    color: #4263eb;
    margin-right: 4px;
}
.feedback-value.positive { color: #1b7e2a; }
.feedback-value.negative { color: #b02a37; }
.feedback-value.neutral { color: #888; }
.feedback-recommendations h4 {
    font-size: 1.01rem;
    color: #4263eb;
    margin-bottom: 0.2rem;
}
.feedback-recommendations ul {
    margin-left: 1.1rem;
    color: #333;
    font-size: 0.97rem;
}
@media (max-width: 900px) {
    .dashboard-stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.7rem;
    }
    .quick-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    .quick-actions a {
        width: 100%;
        min-width: 0;
    }
}
@media (max-width: 700px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }
    .quick-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    .quick-actions a {
        width: 100%;
        min-width: 0;
    }
}

/* === STATS-GRID === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    align-items: stretch;
}
.stats-grid .stat-card {
    background: #f6f8fe;
    color: #222;
    padding: 1.2rem 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(66,99,235,0.04);
    border: 1px solid #e3e8f7;
    transition: box-shadow 0.18s, transform 0.18s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}
.stats-grid .stat-card:hover {
    box-shadow: 0 4px 18px rgba(66,99,235,0.10);
    transform: translateY(-3px) scale(1.03);
}
.stats-grid .stat-icon {
    background: #4263eb;
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    box-shadow: 0 2px 8px rgba(66,99,235,0.10);
}
.stats-grid .stat-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #2746b0;
}
.stats-grid .stat-content p {
    font-size: 0.97rem;
    opacity: 0.8;
    color: #4263eb;
}
@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.7rem;
    }
}
@media (max-width: 700px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }
    .stats-grid .stat-card {
        min-height: 90px;
        padding: 1rem 0.7rem;
    }
}

/* === BUTONLAR === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 22px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: background 0.18s, color 0.18s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    background: #4263eb;
    color: #fff;
    box-shadow: 0 1px 4px rgba(66,99,235,0.07);
}
.btn:hover {
    background: #2746b0;
    color: #fff;
}
.btn-outline {
    background: #fff;
    color: #4263eb;
    border: 1.5px solid #4263eb;
    box-shadow: none;
}
.btn-outline:hover {
    background: #4263eb;
    color: #fff;
}
.btn-sm { padding: 7px 14px; font-size: 0.93rem; }
.btn-full { width: 100%; }

/* === FORMLAR === */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: #333;
    font-weight: 500;
    font-size: 0.97rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8f9fa;
    transition: border 0.18s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4263eb;
    background: #fff;
}

/* === TABLOLAR === */
.table-container {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(66,99,235,0.04);
    border: 1px solid #f0f0f0;
    width: 100%;
    box-sizing: border-box;
}
.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}
.table th,
.table td {
    padding: 0.85rem 0.7rem;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}
.table th {
    background: #f6f8fe;
    color: #4263eb;
    font-weight: 600;
    font-size: 1rem;
}
.table tr:hover {
    background: #f0f3ff;
}
.table tr:last-child td { border-bottom: none; }

/* === ALERTS === */
.alert {
    padding: 0.9rem 1.3rem;
    border-radius: 10px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    border: 1px solid transparent;
    font-size: 1rem;
}
.alert-success {
    background: #e6f9e8;
    color: #1b7e2a;
    border-color: #b6e2c1;
}
.alert-danger {
    background: #fbeaea;
    color: #b02a37;
    border-color: #f5c6cb;
}
.alert i { font-size: 1.1rem; }

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .dashboard-header-content, .dashboard-container { max-width: 1000px; }
    .sidebar { width: 200px; }
    
    .dashboard-header-left h1 {
        font-size: 1.6rem;
    }
}
@media (max-width: 1024px) {
    .dashboard-content { flex-direction: column; gap: 18px; }
    .sidebar { width: 100%; min-height: unset; position: static; border-radius: 14px; }
    .main-content { padding: 1.2rem 1rem; overflow-x: hidden; }
}
@media (max-width: 700px) {
    .dashboard-header {
        padding: 1rem 0;
    }
    
    .dashboard-header-content { 
        flex-direction: column; 
        gap: 1rem; 
        padding: 0 16px; 
        text-align: center;
    }
    
    .dashboard-header-left h1 {
        font-size: 1.4rem;
    }
    
    .dashboard-header-left p {
        font-size: 0.9rem;
    }
    
    .dashboard-container { padding: 12px 2px 12px 2px; }
    .main-content { padding: 1rem; }
    .card, .chart-container, .table-container { 
        padding: 1.5rem; 
        border-radius: 16px;
        margin-bottom: 1.5rem;
    }
    .chart-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
}
@media (max-width: 480px) {
    .sidebar { padding: 8px 0; }
    .main-content { padding: 0.5rem; }
    .card, .chart-container, .table-container { 
        padding: 1rem; 
        border-radius: 14px;
        margin-bottom: 1rem;
    }
    .chart-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    .stat-card h3 { font-size: 1.1rem; }
    .stat-card p { font-size: 0.85rem; }
} 

/* === YENİ MODERN HEADER === */
.custom-header {
    width: 100%;
    height: 76px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(66,99,235,0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px;
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 90px;
    padding-top: 18px;
    padding-bottom: 12px;
}
.header-left {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4263eb;
    letter-spacing: 0.01em;
}
.header-center {
    font-size: 1.08rem;
    font-weight: 500;
    color: #222;
    text-align: center;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.header-right .btn {
    font-size: 1rem;
    padding: 8px 20px;
    border-radius: 7px;
}
.custom-header-inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    padding: 0 16px;
    min-height: 90px;
}
@media (max-width: 1200px) {
    .custom-header-inner { max-width: 1000px; }
}
@media (max-width: 700px) {
    .custom-header {
        min-height: 90px;
        padding-top: 18px;
        padding-bottom: 12px;
    }
    .custom-header-inner {
        min-height: 90px;
        padding: 18px 0 12px 0;
    }
    .header-left {
        display: none;
    }
    .header-center {
        width: 100%;
        text-align: center;
        font-size: 1.08rem;
        font-weight: 500;
        margin-bottom: 4px;
    }
    .header-right {
        width: 100%;
        text-align: center;
        margin-bottom: 0;
    }
    .header-right .btn {
        width: auto;
        display: inline-block;
        margin: 0 auto;
        font-size: 1rem;
        padding: 8px 20px;
        border-radius: 7px;
        margin-bottom: 10px;
    }
    .dashboard-container {
        padding: 12px 2px 12px 2px;
    }
    .main-content {
        padding: 1rem 0.3rem;
        gap: 1.2rem;
    }
    .card, .chart-container, .table-container {
        padding: 1rem 0.5rem;
        margin-bottom: 1.2rem;
    }
    .sidebar {
        padding: 8px 0;
        margin-bottom: 12px;
    }
    .sidebar-menu a {
        padding: 10px 10px;
        font-size: 1rem;
    }
    .dashboard-stats {
        gap: 0.7rem;
    }
    .quick-actions a {
        margin-bottom: 6px;
        width: 100%;
    }
}
@media (max-width: 480px) {
    .custom-header {
        min-height: 80px;
        padding-top: 12px;
        padding-bottom: 8px;
    }
    .custom-header-inner {
        min-height: 80px;
        padding: 12px 0 8px 0;
    }
    .header-right .btn {
        margin-bottom: 8px;
    }
} 

/* === Diyet Geçmişi Sayfası === */
.content-header {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(66,99,235,0.06);
    padding: 1.2rem 1.5rem 1rem 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}
.content-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #4263eb;
    margin-bottom: 0.3rem;
}
.content-header p {
    color: #555;
    font-size: 1.01rem;
    opacity: 0.85;
}
.diet-history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.3rem;
}
.diet-program-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(66,99,235,0.07);
    padding: 1.3rem 1.2rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    border: 1px solid #f0f0f0;
    min-width: 0;
}
.program-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.3rem;
    gap: 0.7rem;
}
.program-header h3 {
    font-size: 1.13rem;
    font-weight: 600;
    color: #222;
    margin: 0;
}
.program-status {
    font-size: 0.97rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 12px;
    background: #f1f3fa;
    color: #4263eb;
    border: 1.5px solid #e3e8f7;
    display: inline-block;
}
.program-status.active {
    background: #e6f9e8;
    color: #1b7e2a;
    border-color: #b6e2c1;
}
.program-status.completed {
    background: #e9f0ff;
    color: #2746b0;
    border-color: #b3c7f7;
}
.program-status.paused {
    background: #fff4e6;
    color: #b07d2a;
    border-color: #ffe0b3;
}
.program-details {
    color: #444;
    font-size: 0.99rem;
    margin-bottom: 0.5rem;
}
.program-details p {
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.98rem;
}
.program-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 0.2rem;
}
.date-item strong {
    color: #4263eb;
    font-weight: 600;
    font-size: 0.97rem;
}
.date-item span {
    color: #333;
    font-size: 0.97rem;
    margin-left: 4px;
}
.program-actions {
    display: flex;
    gap: 0.7rem;
    margin-top: 0.5rem;
}
.program-actions .btn {
    font-size: 0.97rem;
    padding: 8px 16px;
    border-radius: 7px;
}
.empty-state {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(66,99,235,0.06);
    padding: 2.2rem 1.2rem 2.2rem 1.2rem;
    text-align: center;
    color: #888;
    margin-top: 2.5rem;
}
.empty-state i {
    font-size: 2.5rem;
    color: #4263eb;
    margin-bottom: 0.7rem;
}
.empty-state h3 {
    font-size: 1.18rem;
    color: #222;
    margin-bottom: 0.3rem;
}
.empty-state p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0.5rem;
}
@media (max-width: 700px) {
    .diet-history-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .diet-program-card {
        padding: 1rem 0.7rem 0.9rem 0.7rem;
    }
    .content-header {
        padding: 1rem 0.7rem 0.7rem 0.7rem;
    }
    .empty-state {
        padding: 1.2rem 0.5rem 1.2rem 0.5rem;
        margin-top: 1.2rem;
    }
} 

/* === Hesap İstatistikleri (Profil) === */
.account-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.1rem;
    margin-bottom: 0.2rem;
}
.stat-item {
    background: #f6f8fe;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(66,99,235,0.06);
    padding: 1.1rem 1.3rem 1rem 1.3rem;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    border: 1px solid #e3e8f7;
    transition: all 0.3s ease;
    min-height: 80px;
}
.stat-item:hover {
    box-shadow: 0 4px 18px rgba(66,99,235,0.10);
    transform: translateY(-2px);
    border-color: rgba(66,99,235,0.15);
}
.stat-icon {
    background: linear-gradient(135deg, #4263eb 0%, #4ecdc4 100%);
    color: #ffffff;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 12px rgba(66,99,235,0.20);
    transition: all 0.3s ease;
}

.stat-icon i {
    color: #ffffff !important;
}

.account-stats .stat-icon i {
    color: #ffffff !important;
}

.stat-item .stat-icon i {
    color: #ffffff !important;
}

.stat-item:hover .stat-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(66,99,235,0.25);
}
.stat-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2746b0;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}
.stat-value {
    font-size: 1.08rem;
    font-weight: 500;
    color: #222;
    line-height: 1.3;
}
@media (max-width: 900px) {
    .account-stats {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
    }
    .stat-item {
        min-width: 0;
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .account-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .stat-item {
        padding: 1rem;
    }
    .stat-icon {
        width: 42px;
        height: 42px;
        font-size: 1.4rem;
    }
    .stat-content h4 {
        font-size: 1rem;
    }
    .stat-value {
        font-size: 1rem;
    }
} 

/* === Hesap Bilgileri Modern === */
.account-info-modern {
    margin-top: 2rem;
    background: #f6f8fe;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(66,99,235,0.06);
    padding: 2rem 2.2rem 1.5rem 2.2rem;
}
.account-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.3rem 2.2rem;
    margin-top: 1.2rem;
}
.account-info-item {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(66,99,235,0.04);
    padding: 1.1rem 1.3rem;
    border: 1px solid #e3e8f7;
    min-height: 70px;
}
.account-info-icon {
    font-size: 1.7rem;
    color: #4263eb;
    background: #e9f0ff;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.account-info-label {
    font-size: 1.01rem;
    color: #888;
    font-weight: 500;
    margin-bottom: 0.2rem;
}
.account-info-value {
    font-size: 1.13rem;
    font-weight: 600;
    color: #222;
}
.status-badge.active {
    background: #e6f9e8;
    color: #1b7e2a;
    padding: 4px 14px;
    border-radius: 12px;
    font-size: 0.98rem;
    font-weight: 600;
}
.status-badge.passive {
    background: #fbeaea;
    color: #b02a37;
    padding: 4px 14px;
    border-radius: 12px;
    font-size: 0.98rem;
    font-weight: 600;
}
@media (max-width: 700px) {
    .account-info-grid {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }
    .account-info-item {
        padding: 0.8rem 0.7rem;
    }
    .account-info-modern {
        padding: 1rem 0.5rem 1rem 0.5rem;
    }
} 

/* === HEADER & NAVBAR === */
.header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(66,99,235,0.07);
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 120px;
    display: flex;
    align-items: center;
}
.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem;
    width: 100%;
    height: 100%;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.logo {
    height: 100px;
    width: auto;
    border-radius: 8px;
}
.logo-text {
    font-size: 2.2rem;
    font-weight: 700;
    color: #4263eb;
}
.nav-menu {
    display: flex;
    gap: 1.3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-item {}
.nav-link {
    color: #222;
    font-size: 1.01rem;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.18s;
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: #4263eb;
}
.nav-link.active::after {
    content: '';
    display: block;
    height: 2px;
    background: #4263eb;
    width: 100%;
    border-radius: 2px;
    margin-top: 2px;
}
.nav-auth {
    display: flex;
    gap: 0.7rem;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    margin-left: 1.2rem;
}
.hamburger .bar {
    width: 26px;
    height: 3px;
    background: #4263eb;
    border-radius: 2px;
}

/* === HERO === */
.hero {
    background: linear-gradient(120deg, #e9f0ff 0%, #f4f6fb 100%);
    padding: 4.5rem 0 3.5rem 0;
    margin-bottom: 2.8rem;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3.5rem;
    flex-wrap: wrap;
}
.hero-content {
    flex: 1 1 400px;
    min-width: 320px;
    text-align: left;
}
.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #4263eb;
    margin-bottom: 1.1rem;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1.5rem;
}
.hero-buttons {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.2rem;
}
.hero-buttons .btn {
    font-size: 1.15rem;
    padding: 14px 38px;
    border-radius: 10px;
    margin: 0;
    font-weight: 600;
}
.hero-image {
    flex: 1 1 380px;
    min-width: 260px;
    text-align: center;
}
.hero-image img {
    max-width: 380px;
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(66,99,235,0.13);
}

/* === ABOUT === */
.about {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 6px 32px rgba(66,99,235,0.09);
    padding: 2.8rem 2.2rem 2.2rem 2.2rem;
    margin-bottom: 2.8rem;
}
.about-content {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}
.about-image img {
    max-width: 260px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(66,99,235,0.13);
}
.about-text {
    flex: 1 1 340px;
    min-width: 260px;
}
.about-text h3 {
    font-size: 1.22rem;
    font-weight: 700;
    color: #2746b0;
    margin-bottom: 0.4rem;
}
.about-description {
    font-size: 1.07rem;
    color: #333;
    margin-bottom: 1.3rem;
}
.about-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.3rem;
}
.stat {
    background: #f6f8fe;
    border-radius: 12px;
    padding: 1rem 1.3rem;
    text-align: center;
    min-width: 90px;
    box-shadow: 0 1px 6px rgba(66,99,235,0.06);
}
.stat h4 {
    font-size: 1.22rem;
    color: #4263eb;
    font-weight: 700;
    margin-bottom: 0.1rem;
}
.stat p {
    font-size: 1.01rem;
    color: #333;
}
.about-certificates h4 {
    font-size: 1.09rem;
    color: #4263eb;
    margin-bottom: 0.4rem;
}
.about-certificates ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}
.about-certificates li {
    background: #e9f0ff;
    color: #2746b0;
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 1.01rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* === SERVICES === */
.services {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 6px 32px rgba(66,99,235,0.09);
    padding: 2.8rem 2.2rem 2.2rem 2.2rem;
    margin-bottom: 2.8rem;
}
.services-grid {
    display: flex;
    gap: 1.7rem;
    flex-wrap: wrap;
    justify-content: center;
}
.service-card {
    background: #f6f8fe;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(66,99,235,0.09);
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    flex: 1 1 260px;
    min-width: 220px;
    border: 1px solid #e3e8f7;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.18s;
}
.service-card:hover {
    box-shadow: 0 8px 32px rgba(66,99,235,0.13);
}
.service-icon {
    background: #4263eb;
    color: #fff;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 0.9rem;
}
.service-card h3 {
    font-size: 1.13rem;
    font-weight: 600;
    color: #2746b0;
    margin-bottom: 0.4rem;
}
.service-card p {
    font-size: 1.01rem;
    color: #333;
    margin-bottom: 0.7rem;
}
.service-card ul {
    margin: 0 0 0.7rem 1.1rem;
    color: #333;
    font-size: 1.01rem;
}
.service-card .btn {
    margin-top: 0.9rem;
    font-size: 1.01rem;
    padding: 10px 22px;
}

/* === BAŞARI HİKAYELERİ & BLOG === */
#success, #blog {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(66,99,235,0.07);
    padding: 2.2rem 2rem 2rem 2rem;
    margin-bottom: 2.2rem;
}
#success .section-title, #blog .section-title {
    font-size: 1.3rem;
    color: #4263eb;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.story, .blog-post {
    background: #f6f8fe;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(66,99,235,0.06);
    padding: 1.1rem 1rem 1rem 1rem;
    margin-bottom: 1.1rem;
}
.story h4, .blog-post h4 {
    color: #2746b0;
    font-size: 1.08rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.story p, .blog-post p {
    color: #333;
    font-size: 0.99rem;
}
.story .btn, .blog-post .btn {
    margin-top: 0.6rem;
    font-size: 0.97rem;
    padding: 8px 18px;
}

/* === CONTACT === */
#contact {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(66,99,235,0.07);
    padding: 2.2rem 2rem 2rem 2rem;
    margin-bottom: 2.2rem;
}
#contact .section-title {
    font-size: 1.3rem;
    color: #4263eb;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.contact-info {
    margin-bottom: 1.2rem;
    color: #333;
    font-size: 1.01rem;
}
.contact-info .icon {
    color: #4263eb;
    margin-right: 6px;
    font-size: 1.1rem;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 1.2rem;
}
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e9ecef;
    border-radius: 8px;
    font-size: 1.01rem;
    background: #f8f9fa;
    transition: border 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: none;
    border-color: #4263eb;
    background: #fff;
}
.contact-form button {
    font-size: 1.08rem;
    padding: 12px 28px;
    border-radius: 8px;
    background: #4263eb;
    color: #fff;
    border: none;
    margin-top: 0.7rem;
    cursor: pointer;
    transition: background 0.18s;
}
.contact-form button:hover {
    background: #2746b0;
}

/* === FOOTER === */
.footer {
    background: #4263eb;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0 1.5rem 0;
    font-size: 1.08rem;
    margin-top: 2.5rem;
    border-radius: 0 0 18px 18px;
}
.social-icons {
    display: flex;
    gap: 1.1rem;
    justify-content: center;
    margin-top: 0.7rem;
}
.social-icons a {
    color: #fff;
    font-size: 1.25rem;
    transition: color 0.18s;
}
.social-icons a:hover {
    color: #b3c7f7;
}

/* === BUTONLAR === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 22px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: background 0.18s, color 0.18s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    background: #4263eb;
    color: #fff;
    box-shadow: 0 1px 4px rgba(66,99,235,0.07);
}
.btn:hover {
    background: #2746b0;
    color: #fff;
}
.btn-outline {
    background: #fff;
    color: #4263eb;
    border: 1.5px solid #4263eb;
    box-shadow: none;
}
.btn-outline:hover {
    background: #4263eb;
    color: #fff;
}
.btn-primary {
    background: #4263eb;
    color: #fff;
    border: none;
}
.btn-primary:hover {
    background: #2746b0;
}
.btn-large {
    font-size: 1.15rem;
    padding: 14px 38px;
    border-radius: 10px;
    font-weight: 600;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .navbar, .hero-container, .about-content, .services-grid {
        flex-direction: column;
        gap: 1.7rem;
    }
    .about-image img, .hero-image img {
        max-width: 100%;
    }
}
@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        gap: 1.1rem;
        padding: 0.7rem 0.5rem;
    }
    .nav-menu {
        flex-direction: column;
        gap: 0.7rem;
        align-items: flex-start;
    }
    .nav-auth {
        flex-direction: column;
        gap: 0.5rem;
    }
}
@media (max-width: 700px) {
    .hero, .about, .services, #success, #blog, #contact {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
    }
    .hero-title {
        font-size: 1.35rem;
    }
    .section-title {
        font-size: 1.1rem;
    }
    .about-stats .stat h4 {
        font-size: 1.01rem;
    }
    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .footer {
        font-size: 0.97rem;
        padding: 1rem 0 1rem 0;
    }
    .hero-container, .about-content, .services-grid {
        gap: 1.1rem;
    }
    .header {
        min-height: 90px;
    }
    .logo {
        height: 70px;
    }
    .logo-text {
        font-size: 1.8rem;
    }
}
@media (max-width: 600px) {
    .hero-content, .about-text {
        min-width: 0;
    }
    .about-image img, .hero-image img {
        max-width: 100%;
    }
    .services-grid {
        gap: 0.7rem;
    }
    .header {
        min-height: 80px;
    }
} 

/* === UTILITY & YARDIMCI CLASSLAR === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section { margin-bottom: 2.5rem; }
.divider { border-bottom: 1.5px solid #e3e8f7; margin: 2rem 0; }
.list { list-style: none; padding: 0; margin: 0; }
.list-item { margin-bottom: 0.5rem; }
.icon { display: inline-flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: #888 !important; }
.mt-1 { margin-top: 0.7rem; } .mt-2 { margin-top: 1.2rem; } .mt-3 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.7rem; } .mb-2 { margin-bottom: 1.2rem; } .mb-3 { margin-bottom: 2rem; }
.py-1 { padding-top: 0.7rem; padding-bottom: 0.7rem; } .py-2 { padding-top: 1.2rem; padding-bottom: 1.2rem; }
.px-1 { padding-left: 0.7rem; padding-right: 0.7rem; } .px-2 { padding-left: 1.2rem; padding-right: 1.2rem; }
.d-flex { display: flex; } .flex-wrap { flex-wrap: wrap; } .gap-1 { gap: 0.7rem; } .gap-2 { gap: 1.2rem; } .gap-3 { gap: 2rem; }
.w-100 { width: 100%; } .w-auto { width: auto; }
.hidden-xs { display: none !important; } @media (min-width: 700px) { .hidden-md { display: none !important; } .hidden-xs { display: block !important; } }
@media (max-width: 700px) { .hidden-xs { display: block !important; } .hidden-md { display: none !important; } }

/* === BADGE, TAG, ALERT, AVATAR === */
.badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 0.92rem; font-weight: 600; background: #e9f0ff; color: #4263eb; margin-left: 6px; }
.badge-success { background: #e6f9e8; color: #1b7e2a; }
.badge-danger { background: #fbeaea; color: #b02a37; }
.badge-warning { background: #fff4e6; color: #b07d2a; }
.alert { padding: 1rem 1.5rem; border-radius: 10px; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.7rem; font-weight: 500; border: 1.5px solid #e3e8f7; font-size: 1.01rem; background: #f6f8fe; color: #2746b0; }
.alert-success { background: #e6f9e8; color: #1b7e2a; border-color: #b6e2c1; }
.alert-danger { background: #fbeaea; color: #b02a37; border-color: #f5c6cb; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 10px; font-size: 0.95rem; font-weight: 500; background: #e9f0ff; color: #4263eb; margin-right: 6px; }
.tag-primary { background: #4263eb; color: #fff; }
.tag-success { background: #1b7e2a; color: #fff; }
.tag-warning { background: #b07d2a; color: #fff; }
.tag-danger { background: #b02a37; color: #fff; }
.avatar { display: inline-block; border-radius: 50%; background: #e9f0ff; color: #4263eb; text-align: center; font-weight: 700; }
.avatar-lg { width: 56px; height: 56px; font-size: 1.5rem; line-height: 56px; }
.avatar-sm { width: 32px; height: 32px; font-size: 1rem; line-height: 32px; }

/* === FORM === */
.form-label { font-weight: 600; color: #2746b0; margin-bottom: 0.3rem; display: block; }
.form-error { color: #b02a37; font-size: 0.97rem; margin-top: 0.2rem; }
.form-success { color: #1b7e2a; font-size: 0.97rem; margin-top: 0.2rem; }
input, textarea, select { font-family: inherit; }

/* === SON MESAJLAR BÖLÜMÜ GELİŞMİŞ === */
.messages-preview {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.message-preview-item {
    background: #f7f9fd;
    border: 1.5px solid #e3e8f7;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(66,99,235,0.07);
    padding: 1.1rem 1.3rem 1.1rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    transition: box-shadow 0.18s, border 0.18s, background 0.18s;
}
.message-preview-item:hover {
    background: #f0f3ff;
    border-color: #4263eb;
    box-shadow: 0 6px 18px rgba(66,99,235,0.13);
}

.message-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.message-sender-info {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}
.sender-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #4263eb 60%, #7c9aff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(66,99,235,0.10);
}
.sender-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.sender-name {
    color: #2746b0;
    font-size: 1.07rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.message-date {
    color: #888;
    font-size: 0.93rem;
    font-weight: 400;
    margin-top: 0.1rem;
}
.message-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.reply-btn {
    background: #4263eb;
    color: #fff;
    border: none;
    padding: 0.45rem 1.1rem;
    border-radius: 8px;
    font-size: 0.97rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(66,99,235,0.08);
}
.reply-btn:hover {
    background: #2746b0;
    color: #fff;
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 4px 12px rgba(66,99,235,0.18);
}
.message-preview-content {
    margin-left: 2.5rem;
    color: #222;
    font-size: 1.01rem;
    line-height: 1.6;
    word-break: break-word;
}
@media (max-width: 700px) {
    .message-preview-item {
        padding: 0.8rem 0.7rem;
    }
    .message-preview-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }
    .message-preview-content {
        margin-left: 0.5rem;
        font-size: 0.97rem;
    }
    .sender-avatar {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    .reply-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.93rem;
    }
} 

/* === Son Aktiviteler Modern === */
.activity-modern {
    margin-top: 2rem;
    background: #f6f8fe;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(66,99,235,0.06);
    padding: 2rem 2.2rem 1.5rem 2.2rem;
}
.activity-list-modern {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 1.2rem;
}
.activity-modern-item {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(66,99,235,0.04);
    padding: 1.1rem 1.3rem;
    border: 1px solid #e3e8f7;
    min-height: 64px;
    transition: box-shadow 0.18s;
}
.activity-modern-item:hover {
    box-shadow: 0 4px 18px rgba(66,99,235,0.10);
}
.activity-modern-icon {
    font-size: 1.5rem;
    color: #4263eb;
    background: #e9f0ff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.activity-modern-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.activity-modern-title {
    font-size: 1.08rem;
    font-weight: 600;
    color: #222;
}
.activity-modern-time {
    font-size: 0.97rem;
    color: #888;
    font-weight: 500;
}
@media (max-width: 700px) {
    .activity-modern {
        padding: 1rem 0.5rem 1rem 0.5rem;
    }
    .activity-modern-item {
        padding: 0.8rem 0.7rem;
    }
    .activity-modern-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
} 

/* === Son Günlük Kayıtları Modern === */
.diet-logs-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 1.2rem;
}
.diet-log-item-modern {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(66,99,235,0.04);
    padding: 1.1rem 1.3rem;
    border: 1px solid #e3e8f7;
    min-height: 64px;
    transition: box-shadow 0.18s;
}
.diet-log-item-modern:hover {
    box-shadow: 0 4px 18px rgba(66,99,235,0.10);
}
.log-date-modern {
    font-size: 1.01rem;
    color: #4263eb;
    font-weight: 600;
    min-width: 110px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.log-content-modern {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}
.log-meal-modern {
    font-size: 1.08rem;
    font-weight: 500;
    color: #222;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.log-meal-type {
    color: #4263eb;
    font-weight: 600;
    margin-right: 0.3rem;
}
.log-food-name {
    color: #333;
    font-weight: 500;
}
.log-calories-modern {
    font-size: 0.99rem;
    color: #b02a37;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
@media (max-width: 700px) {
    .diet-log-item-modern {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.8rem 0.7rem;
    }
    .log-date-modern {
        min-width: unset;
        font-size: 0.97rem;
    }
} 

/* === Program Bilgileri Modern === */
.program-info-modern {
    margin-top: 2rem;
    background: #f6f8fe;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(66,99,235,0.06);
    padding: 2rem 2.2rem 1.5rem 2.2rem;
}
.program-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.3rem 2.2rem;
    margin-top: 1.2rem;
}
.program-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(66,99,235,0.04);
    padding: 1.1rem 1.3rem;
    border: 1px solid #e3e8f7;
    min-height: 70px;
}
.program-info-desc {
    grid-column: 1 / -1;
}
.program-info-icon {
    font-size: 1.7rem;
    color: #4263eb;
    background: #e9f0ff;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.program-info-label {
    font-size: 1.01rem;
    color: #888;
    font-weight: 500;
    margin-bottom: 0.2rem;
}
.program-info-value {
    font-size: 1.13rem;
    font-weight: 600;
    color: #222;
    word-break: break-word;
}
@media (max-width: 700px) {
    .program-info-grid {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }
    .program-info-item {
        padding: 0.8rem 0.7rem;
    }
    .program-info-modern {
        padding: 1rem 0.5rem 1rem 0.5rem;
    }
} 

.program-desc-html {
  font-size: 1.08rem;
  color: #222;
  margin-bottom: 1.1rem;
  line-height: 1.7;
  word-break: break-word;
  max-height: 260px;
  overflow-y: auto;
  padding: 0.2rem 0.1rem;
}
.program-desc-html ul, .program-desc-html ol {
  margin-left: 1.2em;
  margin-bottom: 0.7em;
}
.program-desc-html li {
  margin-bottom: 0.2em;
  font-size: 1.01rem;
}
.program-desc-html h1, .program-desc-html h2, .program-desc-html h3 {
  font-size: 1.15em;
  font-weight: 700;
  margin: 0.5em 0 0.3em 0;
  color: #2c5aa0;
}
.program-desc-html b, .program-desc-html strong {
  color: #b02a37;
}
.program-desc-html em, .program-desc-html i {
  color: #4263eb;
}
.program-desc-html span {
  font-size: inherit;
}

/* === BESLENME ÖZETİ === */
.nutrition-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.summary-item {
    background: linear-gradient(135deg, #f6f8fe 0%, #e9f0ff 100%);
    border: 1px solid #e3e8f7;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.summary-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4263eb, #4ecdc4);
}

.summary-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(66, 99, 235, 0.15);
    border-color: #4263eb;
}

.summary-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4263eb;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    display: block;
    margin-bottom: 0.5rem;
}

.summary-item:nth-child(1) .summary-value {
    color: #4263eb;
}

.summary-item:nth-child(2) .summary-value {
    color: #4ecdc4;
}

.summary-item:nth-child(3) .summary-value {
    color: #45b7d1;
}

.summary-item:nth-child(4) .summary-value {
    color: #ff6b6b;
}

.summary-item small {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
    display: block;
    margin-top: 0.3rem;
}

.summary-item h4 i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Responsive tasarım */
@media (max-width: 900px) {
    .nutrition-summary {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .summary-item {
        padding: 1.2rem;
    }
    
    .summary-value {
        font-size: 1.6rem;
    }
}

@media (max-width: 600px) {
    .nutrition-summary {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .summary-item {
        padding: 1rem;
    }
    
    .summary-value {
        font-size: 1.4rem;
    }
    
    .summary-item h4 {
        font-size: 0.9rem;
    }
}

/* === DANIŞAN KARTLARI === */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.client-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(66, 99, 235, 0.08);
    border: 1px solid rgba(66, 99, 235, 0.08);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4263eb, #4ecdc4);
}

.client-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(66, 99, 235, 0.15);
    border-color: rgba(66, 99, 235, 0.15);
}

.client-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4263eb, #4ecdc4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(66, 99, 235, 0.2);
}

.client-info {
    flex: 1;
}

.client-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.2rem;
}

.client-email {
    font-size: 0.9rem;
    color: #666;
}

.client-status {
    margin-left: auto;
}

.client-details {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.detail-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.detail-value {
    font-size: 0.95rem;
    color: #222;
    font-weight: 600;
}

.client-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.client-actions .btn {
    flex: 1;
    min-width: 80px;
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
}

/* Responsive tasarım */
@media (max-width: 1200px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.2rem;
    }
}

@media (max-width: 900px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
    }
    
    .client-card {
        padding: 1.2rem;
    }
    
    .client-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .client-card {
        padding: 1rem;
    }
    
    .client-header {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .client-status {
        margin-left: 0;
    }
    
    .client-actions {
        justify-content: center;
    }
    
    .client-actions .btn {
        flex: none;
        min-width: 100px;
    }
}

/* === ARAMA BÖLÜMÜ === */
.search-section {
    margin-bottom: 1.5rem;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e3e8f7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(66, 99, 235, 0.06);
    flex: 1;
    min-width: 300px;
}

.search-input {
    flex: 1;
    border: none;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.search-input:focus {
    box-shadow: none;
}

.search-btn {
    background: #4263eb;
    color: #fff;
    border: none;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1rem;
}

.search-btn:hover {
    background: #2746b0;
}

.clear-search {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.clear-search:hover {
    background: #f0f3ff;
    color: #4263eb;
}

/* === SAYFALAMA === */
.pagination-section {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination-info {
    font-size: 0.9rem;
    color: #666;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.6rem 1rem;
    background: #fff;
    color: #4263eb;
    text-decoration: none;
    border: 1px solid #e3e8f7;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 40px;
    justify-content: center;
}

.pagination-btn:hover {
    background: #f0f3ff;
    border-color: #4263eb;
    transform: translateY(-1px);
}

.pagination-btn.active {
    background: #4263eb;
    color: #fff;
    border-color: #4263eb;
}

.pagination-btn.active:hover {
    background: #2746b0;
}

/* Responsive tasarım */
@media (max-width: 700px) {
    .search-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input-group {
        min-width: unset;
    }
    
    .pagination-section {
        flex-direction: column;
        text-align: center;
    }
    
    .pagination {
        justify-content: center;
    }
}

/* === KULLANICI KUTU TASARIMI === */
.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.chart-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    min-width: 250px;
}

.search-box input {
    padding-right: 40px;
    padding-left: 15px;
    height: 42px;
    border: 1px solid #e3e8f7;
    border-radius: 10px;
    background: #f8f9ff;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: #4263eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(66, 99, 235, 0.1);
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 0.9rem;
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.user-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(66, 99, 235, 0.08);
    border: 1px solid rgba(66, 99, 235, 0.08);
    transition: all 0.3s ease;
    position: relative;
    isolation: isolate;
    overflow: visible;
    z-index: 1;
}

.user-card:hover {
    z-index: 10;
}

.user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4263eb, #4ecdc4);
    border-radius: 16px 16px 0 0;
}

.user-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(66, 99, 235, 0.15);
    border-color: rgba(66, 99, 235, 0.2);
}

.user-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.user-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4263eb, #4ecdc4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(66, 99, 235, 0.3);
}

.user-status {
    position: relative;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-dot.active {
    background: #1b7e2a;
}

.status-dot.inactive {
    background: #b02a37;
}

.user-card-body {
    margin-bottom: 1.5rem;
}

.user-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2746b0;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.user-email {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    word-break: break-all;
}

.user-phone {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.role-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-badge.admin {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: #fff;
}

.role-badge.dietitian {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: #fff;
}

.role-badge.client {
    background: linear-gradient(135deg, #4263eb, #2746b0);
    color: #fff;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.active {
    background: #e6f9e8;
    color: #1b7e2a;
}

.status-badge.inactive {
    background: #fbeaea;
    color: #b02a37;
}

.user-stats {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.stat-item {
    background: #f6f8fe;
    padding: 0.8rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e3e8f7;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-item:hover {
    background: #e9f0ff;
    border-color: #4263eb;
}

.stat-item i {
    color: #4263eb;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    display: block;
}

.stat-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2746b0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f3ff;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item small {
    color: #888;
    font-size: 0.85rem;
    font-weight: 500;
}

.info-item span {
    color: #2746b0;
    font-size: 0.9rem;
    font-weight: 600;
}

.user-card-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #f0f3ff;
}

.user-card-actions .btn {
    padding: 8px 12px;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.user-card-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 99, 235, 0.2);
}

/* Dropdown menü */
.dropdown {
    position: relative;
    display: inline-block;
    z-index: 999998;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

.dropdown-toggle:hover {
    background: rgba(66, 99, 235, 0.1);
    color: #4263eb;
}

.dropdown-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(66, 99, 235, 0.2);
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #e3e8f7;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    z-index: 9999999;
    display: none;
    overflow: hidden;
    margin-top: 5px;
    transform-origin: top right;
}



.dropdown.active .dropdown-menu {
    display: block !important;
}

.user-card .dropdown.active {
    z-index: 999997;
}

.user-card .dropdown.active ~ * {
    z-index: 1;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 0.9rem;
    color: #666;
    transition: background 0.3s ease;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f8f9ff;
    color: #4263eb;
}

.dropdown-item.text-danger:hover {
    background: #fbeaea;
    color: #b02a37;
}

/* Boş durum */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #888;
}

.empty-state i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
    display: block;
}

.empty-state h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.empty-state p {
    font-size: 1rem;
    color: #999;
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .users-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 900px) {
    .chart-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .chart-actions {
        justify-content: center;
    }
    
    .search-box {
        min-width: auto;
        flex: 1;
    }
    
    .users-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 700px) {
    .users-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .user-card {
        padding: 1.2rem;
    }
    
    .user-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .user-stats {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .stat-item {
        min-width: auto;
        width: 100%;
    }
    
    .user-card-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .dropdown-menu {
        right: auto;
        left: 0;
        transform-origin: top left;
    }
    
    .dropdown-toggle {
        padding: 6px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .user-card {
        padding: 1rem;
    }
    
    .user-name {
        font-size: 1.1rem;
    }
    
    .user-badges {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .role-badge, .status-badge {
        text-align: center;
        width: 100%;
    }
} 

/* === MODAL STİLLERİ === */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 96vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e3e8f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8faff 0%, #f0f3ff 100%);
    border-radius: 16px 16px 0 0;
}

.modal-header h3 {
    margin: 0;
    color: #4263eb;
    font-size: 1.3rem;
    font-weight: 600;
}

.close {
    color: #888;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.close:hover {
    color: #4263eb;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e3e8f7;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background: #f8faff;
    border-radius: 0 0 16px 16px;
}

/* Modal form stilleri */
.modal form {
    padding: 2rem;
}

.modal .form-group {
    margin-bottom: 1.5rem;
}

.modal .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #4263eb;
    font-size: 0.95rem;
}

.modal .form-group input,
.modal .form-group textarea,
.modal .form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e3e8f7;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.modal .form-group input:focus,
.modal .form-group textarea:focus,
.modal .form-group select:focus {
    outline: none;
    border-color: #4263eb;
    box-shadow: 0 0 0 3px rgba(66, 99, 235, 0.1);
}

.modal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Responsive modal */
@media (max-width: 700px) {
    .modal {
        padding: 10px;
    }
    
    .modal-content {
        width: 98%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
    
    .modal .form-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        margin: 5% auto;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .close {
        font-size: 1.5rem;
    }
} 