* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: auto;
    min-height: 100vh;
    background-color: #efefef;
}

img,
video {
    width: 100%;
}

a,
a:active,
a:link,
a::before,
a::after {
    color: black;
    text-decoration: none;
}

ul {
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

/* ============================= */
/* MODERN MINIMAL FOOTER */
/* ============================= */

.siteFooter {
    width: 100%;
    margin-top: 60px;
    padding: 34px 0 18px;
    background: rgba(255, 255, 255, 0.82);
    border-top: 1px solid rgba(17, 24, 39, 0.07);
    font-family: 'Josefin Sans', sans-serif;
}

.footerWrapper {
    width: min(86%, 1500px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 44px;
    align-items: flex-start;
}

.footerLogo {
    display: inline-flex;
    color: #111827;
    text-decoration: none;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 0.2px;
    margin-bottom: 14px;
}

.footerLogo span {
    color: #ff5b00;
}

.footerBrand p {
    max-width: 310px;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 600;
}

.siteFooter h4 {
    color: #111827;
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 16px;
}

.footerLinkGrid {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 10px 34px;
}

.footerLinkGrid a,
.footerContact a,
.footerContact span {
    color: #6b7280;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: 0.2s ease;
}

.footerLinkGrid a:hover,
.footerContact a:hover {
    color: #ff5b00;
}

.footerContact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footerContact a,
.footerContact span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footerContact i {
    width: 18px;
    color: #ff5b00;
    font-size: 15px;
}

.footerSocialIcons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footerSocialIcons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    color: #111827;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    transition: 0.22s ease;
}

.footerSocialIcons a:hover {
    background: #ff5b00;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(255, 91, 0, 0.22);
}

.footerBottom {
    width: min(86%, 1500px);
    margin: 28px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(17, 24, 39, 0.07);
    text-align: center;
}

.footerBottom p {
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
}

/* RESPONSIVE FOOTER */

@media (max-width: 1000px) {
    .footerWrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 34px;
    }
}

@media (max-width: 650px) {
    .siteFooter {
        margin-top: 44px;
        padding-top: 28px;
    }

    .footerWrapper {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footerBrand,
    .footerLinks,
    .footerContact,
    .footerSocial {
        text-align: center;
        align-items: center;
    }

    .footerBrand p {
        margin: 0 auto;
    }

    .footerLinkGrid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footerContact {
        align-items: center;
    }

    .footerSocialIcons {
        justify-content: center;
    }
}

/* ========================================= */
/* KARANLIK MOD - DETAYLI BİLEŞEN UYARLAMASI */
/* ========================================= */

/* --- TEMA BUTONU TASARIMI --- */
.themeToggleBtn {
    background: transparent;
    border: none;
    color: #111827;
    font-size: 20px;
    cursor: pointer;
    margin-right: 15px;
    transition: 0.3s ease;
}

.themeToggleBtn:hover {
    color: #ff5b00;
    transform: scale(1.1);
}

body.dark-mode .themeToggleBtn {
    color: #f1f1f1;
}

body.dark-mode .themeToggleBtn:hover {
    color: #ff5b00;
}

/* Tema anahtarı (switch) */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #d1d5db;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    border-radius: 50%;
    width: 26px;
}

.slider i {
    color: #fff;
    position: absolute;
    top: 9px;
    font-size: 14px;
    transition: .4s;
}

.slider i.fa-moon {
    left: 8px;
    opacity: 1;
}

.slider i.fa-sun {
    right: 8px;
    opacity: 0;
}

input:checked + .slider {
    background-color: #1e293b;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:checked + .slider i.fa-moon {
    opacity: 0;
}

input:checked + .slider i.fa-sun {
    opacity: 1;
}

/* 1. Genel ve Ana Arka Planları Karartma */
body.dark-mode,
body.dark-mode .homePage,
body.dark-mode .adminPage,
body.dark-mode .add-page,
body.dark-mode .aboutPage,
body.dark-mode .authPage {
    background-color: #121212;
    color: #ffffff;
}

/* Add sayfasındaki beyaz gradient arka planı tamamen kaldır */
body.dark-mode .add-page {
    background: #121212 !important;
}

/* 2. Beyaz Kartları ve Üst Menüyü Koyu Gri Yapma */
body.dark-mode .topbar,
body.dark-mode .modernPostCard,
body.dark-mode .sidebarCard,
body.dark-mode .add-card,
body.dark-mode .adminStatCard,
body.dark-mode .adminTableCard,
body.dark-mode .userDetailBox,
body.dark-mode .siteFooter,
body.dark-mode .aboutProfileCard,
body.dark-mode .aboutTextCard,
body.dark-mode .aboutMainCard,
body.dark-mode .whyBlogCard,
body.dark-mode .aboutInfoBox,
body.dark-mode .authCard {
    background-color: #1e1e1e;
    border-color: #2a2a2a;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

/* 3. Siyah Başlıkları Beyaz Yapma */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode .sectionTitle h2,
body.dark-mode .postContent h3,
body.dark-mode .sidebarTitle h3,
body.dark-mode .sidebarCard h4,
body.dark-mode .homeHeroContent h1,
body.dark-mode .homeHeroContent h2,
body.dark-mode .siteFooter h4,
body.dark-mode .adminTableHeader h2,
body.dark-mode .aboutSectionTitle h2,
body.dark-mode .aboutHeroContent h1,
body.dark-mode .aboutProfileCard h2,
body.dark-mode .aboutInfoBox h3,
body.dark-mode .whyBlogItem h3,
body.dark-mode .authInfo h1,
body.dark-mode .authCardHeader h2 {
    color: #f1f1f1;
}

/* 4. Gri Paragrafları ve Menü Linklerini Açık Gri/Mat Yapma */
body.dark-mode p,
body.dark-mode a,
body.dark-mode .postContent p,
body.dark-mode .sidebarCard p,
body.dark-mode .homeHeroContent p,
body.dark-mode .footerBrand p,
body.dark-mode .footerBottom p,
body.dark-mode .adminTableHeader p,
body.dark-mode .aboutPage p,
body.dark-mode .topbarNav a,
body.dark-mode .authInfo p,
body.dark-mode .authCardHeader p,
body.dark-mode .authBottom p {
    color: #a0a0a0;
}

body.dark-mode a:hover,
body.dark-mode .topbarNav a:hover,
body.dark-mode .topbarNav a.active {
    color: #ff5b00;
}

/* 5. Buton ve Kutu Linkleri Uyarlama (Sosyal Medya İkonları Dahil) */
body.dark-mode .spaceLinks a,
body.dark-mode .categoryBtn,
body.dark-mode .sidebarSocial a,
body.dark-mode .aboutSocials a {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border-color: #333;
}

body.dark-mode .spaceLinks a:hover,
body.dark-mode .categoryBtn:hover,
body.dark-mode .categoryBtn.active,
body.dark-mode .sidebarSocial a:hover,
body.dark-mode .aboutSocials a:hover {
    background-color: #ff8500;
    color: #fff;
    border-color: #ff8500;
}

/* 6. Footer Özel Ayarları */
body.dark-mode .footerLogo {
    color: #f1f1f1;
}

body.dark-mode .footerLinkGrid a,
body.dark-mode .footerContact a,
body.dark-mode .footerContact span {
    color: #a0a0a0;
}

body.dark-mode .footerLinkGrid a:hover,
body.dark-mode .footerContact a:hover {
    color: #ff8500;
}

body.dark-mode .footerSocialIcons a {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border-color: #333;
}

body.dark-mode .footerSocialIcons a:hover {
    background-color: #ff8500;
    color: #fff;
    border-color: #ff8500;
}

/* 7. Form Elemanları (Input'lar) Özel Uyarlaması */
body.dark-mode .formGroup input {
    background-color: #121212;
    border-color: #333;
    color: #f1f1f1;
}

body.dark-mode .formGroup input:focus {
    border-color: #ff8500;
}

body.dark-mode .formGroup span,
body.dark-mode .formGroup i,
body.dark-mode .authFeatures div {
    color: #a0a0a0;
}

/* Kayıt sayfasındaki 3 özellik kutusunu karartma */
body.dark-mode .authFeatures div {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border: 1px solid #333;
}

body.dark-mode .input-box i {
    background-color: #5c5a5a;
}

body.dark-mode .input-box i::before {
    color: #fff;
}

/* --- PROFİL MENÜSÜ KARANLIK MOD --- */

body.dark-mode .profileButton {
    background-color: #1e1e1e;
    color: #f1f1f1;
    border: 1px solid #333;
}

body.dark-mode .profileButton span,
body.dark-mode .profileButton i {
    color: #f1f1f1 !important;
}

body.dark-mode .profileDropdown {
    background-color: #1e1e1e;
    border: 1px solid #333;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

body.dark-mode .profileDropdown a {
    color: #a0a0a0;
}

body.dark-mode .profileDropdown a:hover {
    background-color: #2a2a2a;
    color: #ff8500;
}

body.dark-mode .dropdownDivider {
    border-top: 1px solid #333;
}

body.dark-mode .profileDropdown::before,
body.dark-mode .profileDropdown::after {
    background-color: #1e1e1e !important;
    border-color: #333 !important;
    border-bottom-color: #1e1e1e !important;
}

/* --- HERO BÖLÜMÜ GRADIENT GEÇİŞLERİ --- */

body.dark-mode .homeHero::before {
    background: linear-gradient(to right, #121212 0%, rgba(18, 18, 18, 0.8) 40%, transparent 100%);
}

body.dark-mode .aboutHero {
    position: relative;
    overflow: hidden;
}

body.dark-mode .aboutHeroContent {
    background: transparent !important;
    max-width: none !important;
    position: relative;
    z-index: 2;
}

body.dark-mode .aboutHero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #121212 0%, rgba(18, 18, 18, 0.6) 50%, transparent 100%);
    z-index: 1;
}

/* --- ADD SAYFASI KARANLIK MOD --- */

body.dark-mode .addPageContainer,
body.dark-mode .form-container {
    background-color: #1e1e1e !important;
    color: #f1f1f1 !important;
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background-color: #2a2a2a !important;
    border: 1px solid #333 !important;
    color: #ffffff !important;
}

body.dark-mode label {
    color: #cccccc !important;
}

body.dark-mode .submit-button {
    background-color: #ff8500 !important;
    color: #ffffff !important;
    border: none;
}

body.dark-mode .submit-button:hover {
    background-color: #e67700 !important;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background-color: #2a2a2a !important;
    border: 1px solid #333 !important;
    color: #f1f1f1 !important;
}

/* Kesikli çizgili yükleme kutusu (upload-box) */
body.dark-mode .upload-box {
    background-color: #2a2a2a !important;
    background-image: none !important;
    border: 2px dashed #444 !important;
    color: #a0a0a0 !important;
}

body.dark-mode .upload-box p,
body.dark-mode .upload-box span,
body.dark-mode .upload-box i,
body.dark-mode .upload-box strong {
    color: #f7f7fa !important;
}

/* --- PROFİL SAYFASI --- */

body.dark-mode .profilePreviewCard,
body.dark-mode .profileFormCard,
body.dark-mode .securityStrip {
    background: rgba(61, 61, 61, 0.94);
}

body.dark-mode .profilePage {
    width: 100%;
    min-height: 100vh;
    background:
        linear-gradient(to bottom, rgba(27, 26, 26, 0.9), #3a3a3a 330px),
        url('/img/background/home.jpg');
    background-size: 100% 330px;
    background-repeat: no-repeat;
    background-position: top center;
    font-family: 'Josefin Sans', sans-serif;
    padding: 42px 0 55px;
}

body.dark-mode .profileStats strong {
    color: #ffffff !important;
}

body.dark-mode .profileStats span {
    color: #a0a0a0 !important;
}

body.dark-mode .profileStats,
body.dark-mode .profileStats div {
    border-color: #333 !important;
}

body.dark-mode .profileHeader h1 {
    color: #ffffff !important;
}

/* Doğrulandı rozeti */
body.dark-mode .readonlyInput span,
body.dark-mode .verifiedBadge {
    background: rgba(34, 197, 94, 0.2) !important;
    color: #5bdd8a !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
}

body.dark-mode .readonlyInput span i,
body.dark-mode .verifiedBadge i {
    color: #4ade80 !important;
}

/* --- ADMIN PANELİ --- */

body.dark-mode .adminHero {
    min-height: 190px;
    border-radius: 26px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(48, 47, 47, 0.93), rgba(56, 55, 55, 0.38)),
        url('/img/background/home.jpg');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(17, 24, 39, 0.06);
    border-left: none !important;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    padding: 44px 58px;
    padding-left: 44px !important;
}

body.dark-mode .adminHero::before {
    left: 0 !important;
    border-left: none !important;
}

body.dark-mode .adminStatCard {
    min-height: 120px;
    border-radius: 22px;
    background: rgba(54, 54, 54, 0.94);
    border: 1px solid rgba(17, 24, 39, 0.07);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.055);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
}

body.dark-mode .adminStatCard strong {
    color: #fff;
}

body.dark-mode .adminStatCard span {
    color: #949393;
}

body.dark-mode .adminSidebar {
    min-height: calc(100vh - 142px);
    background: rgba(61, 61, 61, 0.94);
    border: 1px solid rgba(17, 24, 39, 0.07);
    border-radius: 26px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.07);
    padding: 28px 16px;
    display: flex;
    flex-direction: column;
}

body.dark-mode .adminSideLogo {
    padding: 0 14px 26px;
    color: #b6b6b8;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

body.dark-mode .adminVersion {
    margin-top: auto;
    padding: 20px;
    border-radius: 18px;
    background: #505050;
    border: 1px solid rgba(17, 24, 39, 0.07);
}

body.dark-mode .adminVersion strong {
    color: #fff;
}

body.dark-mode .adminVersion span {
    color: #bdbdbd;
}

body.dark-mode .adminSearchBox {
    background: #2a2a2a !important;
    border: 1px solid #333 !important;
}

body.dark-mode .adminSearchBox input {
    background: transparent !important;
    color: #ffffff !important;
}

body.dark-mode .adminSearchBox i {
    color: #a0a0a0 !important;
}

body.dark-mode .adminTable th {
    color: #a0a0a0 !important;
    border-bottom-color: #333 !important;
}

body.dark-mode .adminTable td {
    color: #e0e0e0 !important;
    border-bottom-color: #2a2a2a !important;
}

body.dark-mode .adminUserCell strong {
    color: #f1f1f1 !important;
}

body.dark-mode .adminUserCell span {
    color: #888888 !important;
}

body.dark-mode .adminTableCard {
    background-color: #1e1e1e !important;
    border-color: #2a2a2a !important;
}


body.dark-mode .singlePage {
  min-height: calc(100vh - 70px);
  padding: 70px 20px;
  background: radial-gradient(circle at top left, #181818, #202020 45%, #181818);
}

body.dark-mode .singleCard {
  position: relative;
  background: #353535;
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.12);
}

body.dark-mode .singleContent p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #fafafa;
  margin: 0;
}


body.dark-mode .backButton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 12px 18px;
  background: #666666;
  border-radius: 999px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #e6e6e6;
}

body.dark-mode .rolesListCard,
body.dark-mode .roleDetailCard {
    background: rgba(97, 97, 97, 0.94);
    border: 1px solid rgba(17, 24, 39, 0.07);
    border-radius: 26px;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.06);
}

body.dark-mode .roleListItem {
    width: 100%;
    min-height: 78px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 18px;
    background: #747474;
    cursor: pointer;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-family: inherit;
    text-align: left;
    transition: 0.22s ease;
}

body.dark-mode .roleListItem:hover,
body.dark-mode .roleListItem.active {
    border-color: rgba(211, 123, 75, 0.671);
    background: rgba(255, 73, 1, 0.219);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(255, 91, 0, 0.08);
}

body.dark-mode .roleListLeft strong {
    display: block;
    color: #ffffff; /* <-- BU RENGİ DEĞİŞTİRMELİSİN */
    font-size: 17px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.dark-mode .roleListLeft span {
    display: block;
    color: #dfdfdf; /* <-- BU RENGİ DEĞİŞTİRMELİSİN */
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 230px;
}

body.dark-mode .permissionItem {
    min-height: 42px;
    border-radius: 13px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #f3f3f3; /* <-- BU RENGİ DEĞİŞTİRMELİSİN */
    font-size: 14px;
    font-weight: 800;
}

body.dark-mode .roleCountBox.compact {
    height: 70px;
    border-radius: 18px;
    /* Aşağıdaki background değerini temanın koyu gri rengiyle değiştirmelisin */
    background: #747474; /* Örnek koyu renk, kendi temanın rengini girebilirsin */
    
    /* Eğer kenarlık çok parlak kalırsa onu da biraz kısabilirsin: */
    border: 1px solid rgba(255, 255, 255, 0.05); 
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin-bottom: 24px;
}

/* "Bu roldeki kullanıcı" yazısının rengi */
body.dark-mode .roleCountBox.compact span {
    color: #e5e7eb; /* Açık gri veya #ffffff yapabilirsin */
    font-size: 14px;
    font-weight: 900;
}

/* Sağdaki sayının (Örn: 2) rengi */
body.dark-mode .roleCountBox.compact strong {
    color: #ffffff; /* Sayıyı tam beyaz yapmak güzel durur */
    font-size: 32px;
    font-weight: 900;
}

body.dark-mode .logUser strong { 
    font-size: 14px; 
    color: #ffffff; /* İsmi (Ahmet...) tam beyaz yaptık */
    font-weight: 800; 
}

.body.dark-mode .logUser span { 
    color: #9ca3af; /* Kullanıcı adını (@zFastAce_) okunabilir açık gri yaptık */
    font-weight: 600; 
}

body.dark-mode .userDetailBox {
    width: min(94vw, 680px);
    max-height: 90vh;
    overflow-y: auto;
    background: #1f2937; /* Arka planı koyu gri yaptık */
    border: 1px solid rgba(255, 255, 255, 0.05); /* Kenarlığı kararttık */
    border-radius: 30px;
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.4);
    animation: roleModalIn 0.24s ease;
}

body.dark-mode .userDetailHeader {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 26px 30px 20px;
    background: #1f2937; /* Beyaz gradienti kaldırdık */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body.dark-mode .userDetailHeader h2 {
    color: #ffffff; /* Başlığı beyaz yaptık */
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.dark-mode .userDetailHeader p { 
    color: #9ca3af; /* Alt yazıyı açık gri yaptık */
    font-size: 13px; 
    font-weight: 750; 
}

/* Kapatma Butonu (X) */
body.dark-mode .userDetailHeader button {
    background: #374151; /* Buton arka planını koyulaştırdık */
    color: #ffffff; /* İkonu beyaz yaptık */
    /* ... (Diğer özellikler aynı kalabilir) */
}

body.dark-mode .detailAvatarWrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    border-radius: 50%;
    padding: 5px;
    background: #374151; /* Avatar çevresindeki beyazlığı koyulaştırdık */
    border: 2px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.12);
}

body.dark-mode .detailTop h3 { 
    color: #ffffff; /* İsim tam beyaz */
    font-size: 24px; 
    font-weight: 900; 
    margin-bottom: 4px; 
}
body.dark-mode .detailTop p { 
    color: #9ca3af; /* @KullanıcıAdı kısmı açık gri */
    font-size: 15px; 
    font-weight: 700; 
    margin-bottom: 8px;
}


body.dark-mode .detailInfoItem {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #374151; /* Kutuların içini koyu gri yaptık */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

body.dark-mode .detailInfoItem label { 
    display: block; 
    color: #9ca3af; /* Üst başlık (GMAIL ADRESİ) açık gri */
    font-size: 12px; 
    font-weight: 800; 
    margin-bottom: 5px; 
    text-transform: uppercase; 
}
body.dark-mode .detailInfoItem strong { 
    color: #ffffff; /* Asıl değerler (mail, tarih) tam beyaz */
    font-size: 14px; 
    font-weight: 800; 
}

body.dark-mode .detailManagementArea {
    background: rgba(55, 65, 81, 1); /* Zeminle karışmaması için bir tık daha koyu/farklı bir ton */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.dark-mode .detailManagementArea h3 {
    font-size: 17px;
    font-weight: 900;
    color: #ffffff; /* 'Yetki ve Yönetim' yazısı beyaz */
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.dark-mode .formGroup label { 
    display: block; 
    font-size: 14px; 
    font-weight: 900; 
    color: #ffffff; /* 'Sistem Rolü' yazısı beyaz */
    margin-bottom: 8px; 
}

body.dark-mode .formGroup small { 
    display: block; 
    margin-top: 8px; 
    color: #9ca3af; /* 'Kullanıcının sitedeki yetkilerini...' açık gri */
    font-size: 12px; 
    font-weight: 700; 
}

body.dark-mode .heroButton {
    /* ... diğer özelliklerin (background, padding vs.) aynı kalsın ... */
    
    color: #ffffff; /* Yazı rengini tam beyaz yapar */
}