@font-face {
    font-family: 'Pretoria';
    src: url('./font/e51ec2c623b0dd425040ea68672d0cd9.eot');
    src: url('./font/e51ec2c623b0dd425040ea68672d0cd9.eot?#iefix') format('embedded-opentype'),
        url('./font/e51ec2c623b0dd425040ea68672d0cd9.woff2') format('woff2'),
        url('./font/e51ec2c623b0dd425040ea68672d0cd9.woff') format('woff'),
        url('./font/e51ec2c623b0dd425040ea68672d0cd9.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #f8f9fe;
    --white: #ffffff;
    --text: #2d3436;
    --text-muted: #636e72;
    --brand-purple: #d641b9;
    --brand-purple-light: #fcf4f9;
    --brand-blue: #5d91e5;
    --border: rgba(214, 65, 185, 0.12);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --main-gradient: linear-gradient(330deg, rgb(214, 65, 185) 0%, rgb(183, 84, 196) 25%, rgb(166, 97, 202) 40%, rgb(148, 109, 208) 55%, rgb(129, 121, 215) 77%, rgb(111, 133, 222) 88%, rgb(104, 138, 225) 97%, rgb(93, 145, 229) 100%);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Outfit", sans-serif;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main.id-rehber-sayfa {
    flex: 1;
}

/* ===== NAVBAR ===== */
.id-rehber-navbar-custom {
    background: var(--main-gradient);
    padding: 0;
    box-shadow: 0 0 8px -3px black !important;
}

.id-rehber-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 15px;
    gap: 20px;
}

.id-rehber-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    text-decoration: none;
    flex-shrink: 0;
}

.id-rehber-logo-img {
    height: 50px;
    width: auto;
}

.id-rehber-logo-text {
    font-family: 'Pretoria', Impact, sans-serif;
    font-size: 26px;
    color: #fff;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    line-height: 1;
}

.id-logo-i {
    position: relative;
    display: inline-block;
}

.id-logo-i::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

.id-rehber-navbar-menu {
    flex: 1;
}

.id-rehber-navbar-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.id-rehber-nav-link {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-decoration: none !important;
    text-shadow: none !important;
    padding: 4px;
    margin-right: 4px;
    border-radius: 3px;
    background: transparent;
    transition: 0s;
    white-space: nowrap;
    box-shadow: none !important;
}

.id-rehber-nav-link:hover {
    background: #9957d159 !important;
    border-radius: 4px;
    color: #fff;
}

.id-rehber-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 10px;
    width: 75px;
    border: 1px solid #ffffffc2;
    border-radius: 4px;
    color: #fff;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    background: var(--main-gradient);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    box-shadow: 0 0 8px -3px black !important;
}

.id-rehber-btn:hover {
    background: var(--main-gradient);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 3px 10px rgba(93, 145, 229, 0.25);
    color: #fff;
    text-decoration: none !important;
}

.id-rehber-btn:focus,
.id-rehber-btn:visited {
    color: #fff;
    text-decoration: none !important;
}

.id-hero-cta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    background: #fafafc;
    border-radius: 20px;
    padding: 30px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-top: 30px;
    border: 1px solid #f2f2f7;
}

.id-hero-cta-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(216, 69, 205, 0.15) 0%, rgba(124, 88, 255, 0.05) 50%, transparent 80%);
    z-index: 0;
    pointer-events: none;
}

.id-hero-cta-content {
    position: relative;
    z-index: 1;
    flex: 1 1 500px;
}

.id-hero-cta-icon-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #7c58ff, #d845cd);
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
    box-shadow: 0 6px 15px rgba(124, 88, 255, 0.3);
}

.id-hero-cta-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.3;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.id-hero-highlight {
    background: linear-gradient(90deg, #7c58ff, #d845cd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.id-hero-cta-divider {
    width: 60px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin-bottom: 15px;
}

.id-hero-cta-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 90%;
}

.id-hero-cta-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.id-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #7c58ff, #d845cd) !important;
    color: white !important;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(216, 69, 205, 0.3);
    transition: all 0.3s ease;
}

.id-hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(216, 69, 205, 0.45);
}

.id-hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent !important;
    color: #7c58ff !important;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid #e2e8f0;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.id-hero-btn-secondary:hover {
    border-color: #7c58ff;
    background: rgba(124, 88, 255, 0.05) !important;
}

.id-hero-cta-features {
    display: flex;
    gap: 20px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    flex-wrap: wrap;
}

.id-hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #475569;
    font-weight: 600;
    line-height: 1.3;
}

.id-hero-feature i {
    font-size: 20px;
    color: #a855f7;
    background: #f3e8ff;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.id-hero-cta-illustration {
    flex: 1 1 300px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

@media (max-width: 1380px) {
    .id-hero-cta {
        padding: 30px 20px;
    }
    
    .id-hero-cta-illustration {
        display: none !important;
    }
}

.id-rehber-navbar-toggler {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 9px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 28px;
}

.id-rehber-navbar-toggler:hover,
.id-rehber-navbar-toggler:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* ===== FOOTER ===== */
.id-rehber-footer-custom {
    background: var(--main-gradient);
    position: relative;
    overflow: hidden;
}

.id-rehber-footer-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://www.ihaledunyasi.net/assets1/img/world-map.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    opacity: 1;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .id-rehber-footer-map-overlay {
        background-size: 100% auto;
    }
}

.id-rehber-footer-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 28px 0 0;
}

.id-rehber-footer-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    min-height: 145px;
    padding: 0 24px;
    gap: 32px;
}

.id-rehber-footer-logo {
    justify-self: center;
    transform: translateY(-8px);
}

.id-rehber-logo-img-large {
    height: 160px;
    width: auto;
}

.id-rehber-footer-contact {
    justify-self: center;
    color: #fff;
    transform: translateY(-12px);
}

.id-rehber-footer-heading {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--bs-heading-color);
}

.id-rehber-footer-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #fff;
    margin-bottom: 8px;
}

.id-rehber-footer-info-row i {
    font-size: 16px;
    flex-shrink: 0;
}

.id-rehber-footer-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
    justify-self: center;
    transform: translateY(6px);
}

.id-rehber-footer-link {
    color: #fff !important;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
    white-space: nowrap;
}

.id-rehber-footer-link:hover {
    color: #BBDEFB !important;
    text-decoration: underline !important;
}

.id-rehber-footer-link i {
    margin-right: 4px;
}

.id-rehber-footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    margin: 28px 0 0;
}

.id-rehber-footer-social {
    display: flex;
    justify-content: center;
    gap: 52px;
    min-height: 105px;
    padding: 32px 0 38px;
    transform: translate(10px, 6px);
}

.id-rehber-social-icon {
    color: #fff;
    font-size: 28px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.id-rehber-social-icon:hover {
    opacity: 0.7;
    color: #fff;
}

@media (min-width: 992px) {
    .id-rehber-footer-custom {
        height: 390px;
    }

    .id-rehber-footer-inner {
        display: grid;
        grid-template-rows: 232px 1px 147px;
        height: 100%;
        padding: 10px 0 0;
    }

    .id-rehber-footer-content {
        min-height: 0;
    }

    .id-rehber-footer-divider {
        margin: 0;
    }

    .id-rehber-footer-social {
        align-items: center;
        min-height: 0;
        padding: 0;
    }
}

.id-rehber-panel-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .id-rehber-navbar-menu.collapse {
        display: block !important;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .id-rehber-navbar-inner {
        gap: clamp(8px, 1.2vw, 16px);
    }

    .id-rehber-logo-img {
        height: clamp(40px, 4.2vw, 50px);
    }

    .id-rehber-logo-text {
        font-size: clamp(20px, 2.15vw, 26px);
    }

    .id-rehber-navbar-links {
        gap: 0;
    }

    .id-rehber-nav-link {
        padding: 6px clamp(4px, 0.55vw, 8px);
        font-size: clamp(11px, 1.08vw, 13px);
    }

    .id-rehber-btn {
        padding-right: clamp(8px, 1vw, 14px);
        padding-left: clamp(8px, 1vw, 14px);
        font-size: clamp(11px, 1.08vw, 13px);
    }
}

@media (max-width: 767.98px) {
    .id-rehber-navbar-inner {
        flex-wrap: wrap;
        padding: 9px 16px;
        gap: 8px 14px;
    }

    .id-rehber-navbar-toggler {
        display: inline-flex;
    }

    .id-rehber-navbar-menu {
        flex-basis: 100%;
        width: 100%;
    }

    .id-rehber-navbar-links {
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
        padding: 10px 0 6px;
        border-top: 1px solid rgba(255, 255, 255, 0.25);
    }

    .id-rehber-nav-link {
        display: block;
        min-height: 44px;
        padding: 12px 10px;
        font-size: 15px;
    }

    .id-rehber-btn {
        width: 100%;
        min-height: 44px;
        margin-top: 4px;
    }
}

@media (max-width: 991.98px) {
    .id-rehber-footer-custom {
        min-height: 600px;
    }

    .id-rehber-footer-inner {
        display: grid;
        grid-template-rows: minmax(450px, auto) 1px 147px;
        min-height: 600px;
        padding: 0;
    }

    .id-rehber-footer-content {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
        grid-template-areas:
            "contact links"
            "logo logo";
        align-items: start;
        align-content: center;
        min-height: 450px;
        padding: 46px clamp(24px, 4vw, 36px) 34px;
        column-gap: clamp(24px, 8vw, 80px);
        row-gap: 52px;
    }

    .id-rehber-footer-logo {
        grid-area: logo;
        align-self: center;
        justify-self: center;
        text-align: center;
        transform: none;
    }

    .id-rehber-footer-contact {
        grid-area: contact;
        justify-self: start;
        transform: none;
    }

    .id-rehber-footer-links {
        grid-area: links;
        justify-self: start;
        transform: none;
    }

    .id-rehber-footer-heading {
        color: #fff;
        font-size: 20px;
        font-weight: 700;
    }

    .id-rehber-logo-img-large {
        height: 64px;
    }

    .id-rehber-footer-divider {
        margin: 0;
    }

    .id-rehber-footer-social {
        align-items: center;
        min-height: 147px;
        padding: 0;
        transform: none;
    }
}

@media (max-width: 767.98px) {
    .id-rehber-logo-img {
        height: 40px;
    }

    .id-rehber-logo-text {
        font-size: 20px;
    }

    .id-rehber-footer-custom {
        min-height: 766px;
    }

    .id-rehber-footer-inner {
        grid-template-rows: minmax(620px, auto) 1px 145px;
        min-height: 766px;
    }

    .id-rehber-footer-content {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "contact"
            "links"
            "logo";
        align-items: start;
        align-content: center;
        min-height: 620px;
        padding: 62px clamp(28px, 16vw, 100px) 52px;
        row-gap: 54px;
    }

    .id-rehber-footer-logo {
        grid-column: auto;
    }

    .id-rehber-footer-contact,
    .id-rehber-footer-links {
        width: 100%;
        justify-self: start;
    }

    .id-rehber-footer-info-row {
        align-items: flex-start;
        gap: 6px;
        font-size: clamp(12px, 3.1vw, 15px);
        line-height: 1.45;
    }

    .id-rehber-footer-link {
        white-space: normal;
        padding: 4px 0;
        font-size: clamp(12px, 3.1vw, 15px);
    }

    .id-rehber-logo-img-large {
        height: 88px;
    }

    .id-rehber-footer-heading {
        margin-bottom: 12px;
        font-size: clamp(18px, 4vw, 20px);
    }

    .id-rehber-footer-social {
        min-height: 145px;
        padding: 0;
    }

    .id-rehber-social-icon {
        font-size: 30px;
    }
}

.id-rehber-menu-button {
    min-height: 48px;
    padding: 0.75rem 1rem;
    color: var(--brand-purple);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    font-weight: 700;
}

.id-rehber-menu-button:hover,
.id-rehber-menu-button:focus-visible {
    color: var(--white);
    background: var(--main-gradient);
    border-color: transparent;
}

@media (max-width: 991.98px) {
    .offcanvas-backdrop {
        background-color: transparent;
    }

    .offcanvas-backdrop.show {
        opacity: 0;
    }

    .id-rehber-sidebar {
        top: 68px !important;
        height: calc(100dvh - 68px) !important;
        width: min(88vw, 380px) !important;
        background: var(--white);
    }

    body:has(.id-rehber-sidebar.show) .id-rehber-navbar-toggler {
        opacity: 0;
        pointer-events: none;
    }

    .id-rehber-sidebar .offcanvas-body {
        overflow-y: auto;
    }

    .id-rehber-sidebar .id-rehber-panel-card {
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .id-rehber-sidebar .id-rehber-panel-card>h5 {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .id-rehber-sidebar {
        top: 58px !important;
        height: calc(100dvh - 58px) !important;
    }
}

@media (min-width: 992px) {
    .id-rehber-sidebar {
        visibility: visible !important;
    }
}

.id-sidebar-list a {
    display: block;
    padding: 8px 15px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.id-sidebar-list a:hover {
    color: var(--brand-purple) !important;
    padding-left: 18px;
    background-color: rgba(128, 128, 128, 0.05);
}

.id-sidebar-accordion .accordion-button:focus {
    box-shadow: none;
}

.id-sidebar-accordion .accordion-button:not(.collapsed) {
    background-color: transparent !important;
    color: var(--brand-purple) !important;
    box-shadow: none;
}

.id-sidebar-accordion .accordion-button:not(.collapsed)::after,
.id-sidebar-accordion .accordion-button:hover::after {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.id-sidebar-accordion .accordion-item {
    border: none !important;
    background-color: transparent !important;
}

/* ===== TEMALAR ===== */
/* anaTema */
body.anaTema,
:root[data-theme="anaTema"] {
    --brand-purple: #860085;
    --brand-purple-light: #fcf4f9;
    --border: rgba(134, 0, 133, 0.12);
    --main-gradient: linear-gradient(330deg, rgba(214, 65, 185, 1) 0%, rgba(183, 84, 196, 1) 25%, rgba(166, 97, 202, 1) 40%, rgba(148, 109, 208, 1) 55%, rgba(129, 121, 215, 1) 77%, rgba(111, 133, 222, 1) 88%, rgba(104, 138, 225, 1) 97%, rgba(93, 145, 229, 1) 100%);
}

/* anaTema glossy buttons and accordions */
:root[data-theme="anaTema"] .id-rehber-cta-primary,
:root[data-theme="anaTema"] .id-rehber-cta-secondary,
:root[data-theme="anaTema"] .id-rehber-btn,
:root[data-theme="anaTema"] .id-rehber-menu-button {
    background: var(--main-gradient) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.15) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

:root[data-theme="anaTema"] .id-rehber-cta-primary:hover,
:root[data-theme="anaTema"] .id-rehber-cta-secondary:hover,
:root[data-theme="anaTema"] .id-rehber-btn:hover,
:root[data-theme="anaTema"] .id-rehber-menu-button:hover {
    background: var(--main-gradient) !important;
    filter: brightness(1.1);
    color: #ffffff !important;
}

:root[data-theme="anaTema"] .id-sidebar-accordion .accordion-button {
    background: transparent !important;
    color: var(--text) !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none;
    padding: 12px 15px !important;
    border-radius: 6px !important;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

:root[data-theme="anaTema"] .id-sidebar-accordion .accordion-button:not(.collapsed),
:root[data-theme="anaTema"] .id-sidebar-accordion .accordion-button:hover {
    background: var(--main-gradient) !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.15) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

:root[data-theme="anaTema"] .id-hero-cta-img {
    content: url("img/cta-dashboard-anaTema.jpg");
}


/* kusursuzTema */
body.kusursuzTema,
:root[data-theme="kusursuzTema"] {
    --brand-purple: #265073;
    --brand-purple-light: #e9eff4;
    --border: rgba(38, 80, 115, 0.12);
    --main-gradient: linear-gradient(150deg, #58d641 10%, #2b75c2 75%);
}

/* kusursuzTema glossy buttons and accordions */
:root[data-theme="kusursuzTema"] .id-rehber-cta-primary,
:root[data-theme="kusursuzTema"] .id-rehber-cta-secondary,
:root[data-theme="kusursuzTema"] .id-rehber-btn,
:root[data-theme="kusursuzTema"] .id-rehber-menu-button {
    background: var(--main-gradient) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.15) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

:root[data-theme="kusursuzTema"] .id-rehber-cta-primary:hover,
:root[data-theme="kusursuzTema"] .id-rehber-cta-secondary:hover,
:root[data-theme="kusursuzTema"] .id-rehber-btn:hover,
:root[data-theme="kusursuzTema"] .id-rehber-menu-button:hover {
    background: var(--main-gradient) !important;
    filter: brightness(1.1);
    color: #ffffff !important;
}

:root[data-theme="kusursuzTema"] .id-sidebar-accordion .accordion-button {
    background: transparent !important;
    color: var(--text) !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none;
    padding: 12px 15px !important;
    border-radius: 6px !important;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

:root[data-theme="kusursuzTema"] .id-sidebar-accordion .accordion-button:not(.collapsed),
:root[data-theme="kusursuzTema"] .id-sidebar-accordion .accordion-button:hover {
    background: var(--main-gradient) !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.15) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

:root[data-theme="kusursuzTema"] .id-hero-cta-icon-top,
:root[data-theme="kusursuzTema"] .id-hero-btn-primary {
    background: linear-gradient(150deg, #58d641 10%, #2b75c2 75%) !important;
    box-shadow: 0 8px 20px rgba(43, 117, 194, 0.3) !important;
}
:root[data-theme="kusursuzTema"] .id-hero-highlight {
    background: linear-gradient(90deg, #58d641, #2b75c2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
:root[data-theme="kusursuzTema"] .id-hero-feature i {
    background: rgba(88, 214, 65, 0.1);
    color: #2b75c2;
}
:root[data-theme="kusursuzTema"] .id-hero-cta-bg {
    background: radial-gradient(circle at top right, rgba(88, 214, 65, 0.15) 0%, rgba(43, 117, 194, 0.05) 50%, transparent 80%);
}
:root[data-theme="kusursuzTema"] .id-hero-btn-secondary {
    color: #2b75c2 !important;
}
:root[data-theme="kusursuzTema"] .id-hero-btn-secondary:hover {
    border-color: #2b75c2 !important;
    background: rgba(43, 117, 194, 0.1) !important;
    color: #2b75c2 !important;
}

:root[data-theme="kusursuzTema"] .id-hero-cta-img {
    content: url("img/cta-dashboard-kusursuzTema.jpg");
}

/* maviTema */
body.maviTema,
:root[data-theme="maviTema"] {
    --brand-purple: #265073;
    --brand-purple-light: #e9eff4;
    --border: rgba(38, 80, 115, 0.12);
    --main-gradient: linear-gradient(330deg, #265073, #336b99, #265073, #336b99, #265073, #ffffff);
}

/* maviTema glossy buttons and accordions */
:root[data-theme="maviTema"] .id-rehber-cta-primary,
:root[data-theme="maviTema"] .id-rehber-cta-secondary,
:root[data-theme="maviTema"] .id-rehber-btn,
:root[data-theme="maviTema"] .id-rehber-menu-button {
    background: var(--main-gradient) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.15) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

:root[data-theme="maviTema"] .id-rehber-cta-primary:hover,
:root[data-theme="maviTema"] .id-rehber-cta-secondary:hover,
:root[data-theme="maviTema"] .id-rehber-btn:hover,
:root[data-theme="maviTema"] .id-rehber-menu-button:hover {
    background: var(--main-gradient) !important;
    filter: brightness(1.1);
    color: #ffffff !important;
}

:root[data-theme="maviTema"] .id-sidebar-accordion .accordion-button {
    background: transparent !important;
    color: var(--text) !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none;
    padding: 12px 15px !important;
    border-radius: 6px !important;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

:root[data-theme="maviTema"] .id-sidebar-accordion .accordion-button:not(.collapsed),
:root[data-theme="maviTema"] .id-sidebar-accordion .accordion-button:hover {
    background: var(--main-gradient) !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.15) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

:root[data-theme="maviTema"] .id-hero-cta-icon-top,
:root[data-theme="maviTema"] .id-hero-btn-primary {
    background: linear-gradient(135deg, #265073, #336b99) !important;
    box-shadow: 0 8px 20px rgba(38, 80, 115, 0.3) !important;
}
:root[data-theme="maviTema"] .id-hero-highlight {
    background: linear-gradient(90deg, #265073, #336b99);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
:root[data-theme="maviTema"] .id-hero-feature i {
    background: #e9eff4;
    color: #265073;
}
:root[data-theme="maviTema"] .id-hero-cta-bg {
    background: radial-gradient(circle at top right, rgba(38, 80, 115, 0.15) 0%, rgba(38, 80, 115, 0.05) 50%, transparent 80%);
}
:root[data-theme="maviTema"] .id-hero-btn-secondary {
    color: #265073 !important;
}
:root[data-theme="maviTema"] .id-hero-btn-secondary:hover {
    border-color: #265073 !important;
    background: rgba(38, 80, 115, 0.1) !important;
    color: #265073 !important;
}

:root[data-theme="maviTema"] .id-hero-cta-img {
    content: url("img/cta-dashboard-maviTema.jpg");
}

/* siyahTema (Dark Mode) */
body.siyahTema,
:root[data-theme="siyahTema"] {
    --bg: #000000;
    --white: #111111;
    --text: #e0e0e0;
    --text-muted: #999999;
    --brand-purple: #ffffff;
    --brand-purple-light: rgba(255, 255, 255, 0.08);
    --brand-blue: #ffffff;
    --border: rgba(255, 255, 255, 0.15);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
    --main-gradient: linear-gradient(330deg, #1a1a1a, #404040, #1a1a1a, #404040, #1a1a1a, #808080);
}

/* Dark mode specific component fixes */
:root[data-theme="siyahTema"] .id-related-guide {
    background-color: #1a1a1a !important;
}

:root[data-theme="siyahTema"] .id-related-guide a {
    color: #ffffff !important;
}

:root[data-theme="siyahTema"] .accordion-item {
    background-color: transparent !important;
    border: none !important;
}

:root[data-theme="siyahTema"] .id-sidebar-accordion .accordion-button {
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none;
    padding: 12px 15px !important;
    border-radius: 6px !important;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

:root[data-theme="siyahTema"] .id-sidebar-accordion .accordion-button:not(.collapsed),
:root[data-theme="siyahTema"] .id-sidebar-accordion .accordion-button:hover {
    background: linear-gradient(135deg, #4d4d4d 0%, #2b2b2b 40%, #0a0a0a 100%) !important;
    border: 1px solid #111111 !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.8);
}

:root[data-theme="siyahTema"] .accordion-button::after {
    filter: invert(1) grayscale(100%) brightness(200%);
}

:root[data-theme="siyahTema"] .id-rehber-cta {
    background: linear-gradient(135deg, #111111 0%, #2a2a2a 100%);
    border: 1px solid var(--border);
}

:root[data-theme="siyahTema"] .id-rehber-cta p {
    color: var(--text-muted);
}

:root[data-theme="siyahTema"] .id-rehber-menu-button {
    background-color: var(--white);
    color: var(--text);
}

:root[data-theme="siyahTema"] .id-rehber-cta-secondary {
    background: transparent;
    color: #ffffff !important;
}

:root[data-theme="siyahTema"] .id-rehber-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

:root[data-theme="siyahTema"] div[style*="background-color: #fff3cd"],
:root[data-theme="siyahTema"] div[style*="background-color: #fcf4f9"],
:root[data-theme="siyahTema"] div[style*="background: #f8f9fa"],
:root[data-theme="siyahTema"] td[style*="background: #fef0fa"] {
    background: #1a1a1a !important;
    background-color: #1a1a1a !important;
    border-color: #333333 !important;
}

/* Force readable text colors in main content for dark mode */
:root[data-theme="siyahTema"] .text-muted {
    color: var(--text-muted) !important;
}

:root[data-theme="siyahTema"] .text-dark {
    color: var(--text) !important;
}

:root[data-theme="siyahTema"] .bg-white {
    background-color: var(--white) !important;
}

:root[data-theme="siyahTema"] .id-rehber-content p,
:root[data-theme="siyahTema"] .id-rehber-content li,
:root[data-theme="siyahTema"] .id-rehber-kisa-cevap,
:root[data-theme="siyahTema"] .id-rehber-icerik p,
:root[data-theme="siyahTema"] .id-rehber-icerik li {
    color: var(--text) !important;
}

/* Fix default blue links in paragraphs */
:root[data-theme="siyahTema"] .id-rehber-icerik p a,
:root[data-theme="siyahTema"] .id-rehber-content p a {
    color: #58a6ff !important;
    text-decoration: none;
}

:root[data-theme="siyahTema"] .id-rehber-icerik p a:hover,
:root[data-theme="siyahTema"] .id-rehber-content p a:hover {
    color: #79c0ff !important;
    text-decoration: underline;
}

:root[data-theme="siyahTema"] .id-rehber-content h1,
:root[data-theme="siyahTema"] .id-rehber-content h2,
:root[data-theme="siyahTema"] .id-rehber-content h3,
:root[data-theme="siyahTema"] .id-rehber-content h4,
:root[data-theme="siyahTema"] .id-rehber-content h5,
:root[data-theme="siyahTema"] .id-rehber-content h6,
:root[data-theme="siyahTema"] .id-rehber-ana-baslik {
    color: #ffffff !important;
}

/* Genel Uyarı Kutusu */
.id-rehber-uyari {
    background-color: #fff3cd;
    border-left: 4px solid #ffecb5;
    font-size: 14px;
    color: #856404;
}

.id-rehber-uyari i,
.id-rehber-uyari strong {
    color: #856404;
}

/* Fix warning boxes (Sarı kalmasın, temaya uysun) */
:root[data-theme="siyahTema"] .id-rehber-uyari {
    background-color: var(--brand-purple-light) !important;
    border-left: 4px solid var(--brand-purple) !important;
    color: var(--text) !important;
}

:root[data-theme="siyahTema"] .id-rehber-uyari i,
:root[data-theme="siyahTema"] .id-rehber-uyari strong {
    color: var(--brand-purple) !important;
}


/* Fix elements that use brand-purple as background (would be white-on-white) */
:root[data-theme="siyahTema"] div[style*="background: var(--brand-purple)"] {
    background: #333333 !important;
    color: #ffffff !important;
}

/* Glossy dark metallic buttons for siyahTema */
:root[data-theme="siyahTema"] .id-rehber-cta-primary,
:root[data-theme="siyahTema"] .id-rehber-cta-secondary,
:root[data-theme="siyahTema"] .id-rehber-btn,
:root[data-theme="siyahTema"] .id-rehber-menu-button {
    background: linear-gradient(135deg, #4d4d4d 0%, #2b2b2b 40%, #0a0a0a 100%) !important;
    color: #ffffff !important;
    border: 1px solid var(--brand-purple) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.8);
}

:root[data-theme="siyahTema"] .id-rehber-cta-primary:hover,
:root[data-theme="siyahTema"] .id-rehber-cta-secondary:hover,
:root[data-theme="siyahTema"] .id-rehber-btn:hover,
:root[data-theme="siyahTema"] .id-rehber-menu-button:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* --- Hero CTA Siyah Tema --- */
:root[data-theme="siyahTema"] .id-hero-cta {
    background: #000000;
    border-color: #1a1a1a;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

:root[data-theme="siyahTema"] .id-hero-cta-title {
    color: #f1f1f4;
}

:root[data-theme="siyahTema"] .id-hero-cta-desc {
    color: #a1a5b7;
}

:root[data-theme="siyahTema"] .id-hero-cta-divider {
    background: #2b2b40;
}

:root[data-theme="siyahTema"] .id-hero-feature {
    color: #a1a5b7;
}

:root[data-theme="siyahTema"] .id-hero-highlight {
    background: linear-gradient(90deg, #a1a5b7, #f1f1f4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

:root[data-theme="siyahTema"] .id-hero-cta-icon-top,
:root[data-theme="siyahTema"] .id-hero-btn-primary {
    background: linear-gradient(135deg, #5c5c5c, #2b2b40) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
    color: #f1f1f4 !important;
}

:root[data-theme="siyahTema"] .id-hero-feature i {
    background: #2b2b40;
    color: #f1f1f4;
}

:root[data-theme="siyahTema"] .id-hero-cta-features {
    border-top-color: #2b2b40;
}

:root[data-theme="siyahTema"] .id-hero-cta-bg {
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 50%, transparent 80%);
}

:root[data-theme="siyahTema"] .id-hero-btn-secondary {
    border-color: #474761;
    color: #a1a5b7 !important;
}

:root[data-theme="siyahTema"] .id-hero-btn-secondary:hover {
    border-color: #f1f1f4 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #f1f1f4 !important;
}

:root[data-theme="siyahTema"] .id-hero-cta-img {
    content: url("img/cta-dashboard-siyahTema.jpg");
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

/* FAQ Accordion Hover */
.id-faq-accordion-button {
    color: var(--text);
    background-color: var(--white);
    padding: 12px 15px;
    font-size: 16px;
    border: none;
    box-shadow: none;
}

/* TTS Playing Animation */
@keyframes pulse-tts {
    0% { box-shadow: 0 0 0 0 rgba(124, 88, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(124, 88, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(124, 88, 255, 0); }
}

.id-tts-playing {
    animation: pulse-tts 2s infinite;
    background-color: rgba(124, 88, 255, 0.1) !important;
    color: var(--brand-purple) !important;
    border-color: var(--brand-purple) !important;
}

.id-faq-accordion-button:hover,
.id-faq-accordion-button:not(.collapsed) {
    color: #ffffff !important;
    background: var(--main-gradient) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.id-faq-accordion-button:hover::after,
.id-faq-accordion-button:not(.collapsed)::after {
    filter: invert(1) grayscale(100%) brightness(200%);
}