.iye-dashboard-test {
    max-width: 1100px;
    margin: 50px auto;
    padding: 40px;
    background: #f1f5f9;
    border-radius: 20px;
}

/* ==========================================
   İYE DASHBOARD
========================================== */

.iye-dashboard {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 25px 50px;
    font-family: Arial, sans-serif;
}

.iye-dashboard-header {
    margin-bottom: 30px;
}

.iye-welcome-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #2563eb;
}

.iye-dashboard-header h1 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.2;
    color: #0f172a;
}

.iye-dashboard-header p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
}


/* İSTATİSTİKLER */

.iye-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.iye-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.05);
}

.iye-stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #eff6ff;
    border-radius: 12px;
    font-size: 22px;
}

.iye-stat-card span {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 13px;
}

.iye-stat-card strong {
    display: block;
    color: #0f172a;
    font-size: 25px;
}


/* ALT BÖLÜMLER */

.iye-dashboard-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 25px;
}

.iye-dashboard-box {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.05);
}

.iye-box-header {
    margin-bottom: 22px;
}

.iye-box-header h2 {
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 20px;
}

.iye-box-header p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}


/* HIZLI İŞLEMLER */

.iye-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.iye-action {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    color: #0f172a;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: 0.2s ease;
}

.iye-action:hover {
    border-color: #2563eb;
    background: #f8fbff;
    transform: translateY(-2px);
}

.iye-action-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border-radius: 10px;
    font-size: 19px;
}

.iye-action strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.iye-action small {
    color: #64748b;
    font-size: 12px;
}


/* BOŞ DURUM */

.iye-empty {
    padding: 35px 15px;
    text-align: center;
}

.iye-empty-icon {
    margin-bottom: 12px;
    font-size: 35px;
}

.iye-empty strong {
    display: block;
    margin-bottom: 7px;
    color: #334155;
}

.iye-empty p {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
}


/* MOBİL */

@media (max-width: 900px) {

    .iye-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .iye-dashboard-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .iye-dashboard {
        margin: 25px auto;
        padding: 0 15px 40px;
    }

    .iye-dashboard-header h1 {
        font-size: 26px;
    }

    .iye-stat-grid {
        grid-template-columns: 1fr;
    }

    .iye-dashboard-box {
        padding: 20px;
    }

}

/* ==========================================
   İYE SIDEBAR
========================================== */

.iye-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #0f172a;
    color: #ffffff;
    z-index: 1000;
    overflow-y: auto;
}


/* LOGO */

.iye-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 25px 22px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.iye-logo-box {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #ffffff;
    border-radius: 11px;
    font-size: 22px;
    font-weight: 700;
}

.iye-sidebar-logo strong {
    display: block;
    font-size: 18px;
    line-height: 1.2;
}

.iye-sidebar-logo span {
    display: block;
    margin-top: 3px;
    color: #94a3b8;
    font-size: 11px;
}


/* PROFİL */

.iye-sidebar-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.iye-sidebar-profile img {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.15);
}

.iye-sidebar-profile strong {
    display: block;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.iye-sidebar-profile span {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 11px;
}


/* MENÜ */

.iye-sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 20px 14px;
}

.iye-sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 14px;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s ease;
}

.iye-sidebar-menu a span {
    width: 22px;
    text-align: center;
    font-size: 17px;
}

.iye-sidebar-menu a:hover {
    background: #1e293b;
    color: #ffffff;
}

.iye-sidebar-menu a.active {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(37,99,235,.25);
}


/* ÇIKIŞ */

.iye-sidebar-bottom {
    margin-top: auto;
    padding: 18px 14px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.iye-sidebar-bottom a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 14px;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    transition: .2s ease;
}

.iye-sidebar-bottom a:hover {
    background: #7f1d1d;
    color: #ffffff;
}


/* DASHBOARD'U SIDEBAR'IN YANINA AL */

.iye-dashboard {
    margin-left: 260px;
}


/* MOBİL */

@media (max-width: 768px) {

    .iye-sidebar {
        width: 230px;
        transform: translateX(-100%);
        transition: transform .25s ease;
    }

    .iye-sidebar.open {
        transform: translateX(0);
    }

    .iye-dashboard {
        margin-left: 0;
    }

}

/* ==========================================
   İYE HESABIM
========================================== */

.iye-account {
    margin-left: 260px;
    max-width: 1200px;
    padding: 40px 25px 60px;
    margin-right: auto;
}


/* HESABIM BAŞLIK */

.iye-account-header {
    margin-bottom: 30px;
}

.iye-account-header h1 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 32px;
}

.iye-account-header p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
}


/* FORM KUTUSU */

.iye-account-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.05);
}

.iye-account-box .iye-box-header {
    margin-bottom: 25px;
}

.iye-account-box .iye-box-header h2 {
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 20px;
}

.iye-account-box .iye-box-header p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}


/* FORM */

.iye-account-form {
    width: 100%;
}

.iye-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.iye-form-group {
    margin-bottom: 20px;
}

.iye-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

.iye-form-group input,
.iye-form-group textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #dbe2ea;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}

.iye-form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.iye-form-group input:focus,
.iye-form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}


/* KAYDET BUTONU */

.iye-form-footer {
    padding-top: 5px;
}

.iye-save-button {
    padding: 13px 24px;
    border: 0;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s ease;
}

.iye-save-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}


/* MOBİL */

@media (max-width: 768px) {

    .iye-account {
        margin-left: 0;
        padding: 25px 15px 40px;
    }

    .iye-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .iye-account-box {
        padding: 20px;
    }

}

.iye-egitim-listesi {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 25px;
}

@media (min-width: 768px) {
    .iye-egitim-listesi {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .iye-egitim-listesi {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.iye-egitim-karti {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.iye-egitim-karti h2 {
    margin: 0 0 20px;
    font-size: 21px;
}

.iye-egitim-karti p {
    margin: 10px 0;
    line-height: 1.6;
}

.iye-egitim-karti strong {
    font-weight: 600;
}

.iye-egitim-merkez {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.iye-egitim-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 10px;
}

.iye-egitim-merkez-adi {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.iye-egitim-merkez h2 {
    margin: 0;
}

.iye-logo-box {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
}

.iye-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.iye-egitim-butonlar {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.iye-egitim-butonlar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.iye-egitim-butonlar a {
    width: 100%;
    box-sizing: border-box;
}
.iye-egitim-butonlar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    box-sizing: border-box;
    transition: opacity 0.2s ease;
}

.iye-egitim-butonlar a:hover {
    opacity: 0.85;
}

.iye-egitim-whatsapp {
    background: #25d366;
    color: #ffffff !important;
}

.iye-egitim-merkez-profil {
    background: #1e293b;
    color: #ffffff !important;
}

@media (max-width: 480px) {

    .iye-egitim-butonlar {
        flex-direction: column;
    }

    .iye-egitim-butonlar a {
        width: 100%;
    }

}

/* =========================================================
   İYE HESABIM — YENİ YÖNETİM PANELİ TASARIMI
   Mevcut PHP yapısına dokunmadan görünümü düzenler.
========================================================= */

.iye-account {
    max-width: 1180px;
    padding: 42px 30px 70px;
}

.iye-account-header {
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e2e8f0;
}

.iye-account-header .iye-welcome-label {
    margin-bottom: 8px;
}

.iye-account-header h1 {
    margin: 0 0 8px;
    font-size: 34px;
    letter-spacing: -0.5px;
}

.iye-account-header p {
    margin: 0;
    color: #64748b;
}

/* Ana kart */
.iye-account-box {
    padding: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .06);
}

.iye-account-box .iye-box-header {
    margin: 0;
    padding: 26px 30px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.iye-account-box .iye-box-header h2 {
    font-size: 21px;
}

.iye-account-box .iye-box-header p {
    margin-top: 5px;
}

/* Form iç boşlukları */
.iye-account-form {
    padding: 30px;
}

/* Bölümler */
.iye-form-group {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eef2f7;
}

.iye-form-group:last-of-type {
    border-bottom: 0;
}

.iye-form-group label {
    margin-bottom: 9px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

/* Inputlar */
.iye-form-group input,
.iye-form-group textarea,
.iye-form-group select {
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #d8e0ea;
    border-radius: 11px;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .02);
}

.iye-form-group textarea {
    min-height: 145px;
    line-height: 1.6;
}

.iye-form-group input[type="file"] {
    min-height: auto;
    padding: 10px;
    background: #f8fafc;
    border-style: dashed;
    cursor: pointer;
}

.iye-form-group input[type="file"]:hover {
    border-color: #2563eb;
    background: #f8fbff;
}

/* Mevcut logo / kapak önizlemeleri */
.iye-form-group img {
    display: block;
    max-width: 140px;
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
    padding: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

/* Kaydet alanı */
.iye-form-footer {
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.iye-save-button {
    min-height: 46px;
    padding: 0 28px;
    border-radius: 11px;
    font-size: 14px;
    box-shadow: 0 7px 18px rgba(37, 99, 235, .18);
}

.iye-save-button:hover {
    box-shadow: 0 9px 22px rgba(37, 99, 235, .24);
}

/* Başarı / hata mesajları */
.iye-success-message,
.iye-error-message {
    margin: 22px 30px 0;
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 14px;
}

.iye-success-message {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.iye-error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

/* Hakkında alanı daha ferah */
#merkez_hakkinda {
    min-height: 170px;
}

/* Galeri alanı */
#galeri {
    margin-top: 3px;
}

/* Mobil */
@media (max-width: 768px) {

    .iye-account {
        padding: 25px 15px 45px;
    }

    .iye-account-header h1 {
        font-size: 28px;
    }

    .iye-account-box {
        border-radius: 16px;
    }

    .iye-account-box .iye-box-header {
        padding: 22px 20px;
    }

    .iye-account-form {
        padding: 22px 20px;
    }

    .iye-success-message,
    .iye-error-message {
        margin-left: 20px;
        margin-right: 20px;
    }

    .iye-form-group {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .iye-save-button {
        width: 100%;
    }
}