/* ============================================
   BolApp SPA — Global Styles
   ============================================ */

@font-face {
    font-family: "geometryFont";
    src: url("../assets/ydstime/fonts/Geometry.otf") format("opentype");
}

:root {
    /* Brand Colors */
    --brand-primary: #4285f4;
    --brand-primary-dark: #3367d6;
    --brand-secondary: #1a1a2e;
    --brand-accent: #e94560;
    --brand-success: #34a853;
    --brand-warning: #fbbc05;
    --brand-error: #ea4335;

    /* Surfaces */
    --surface-bg: #faf9f5;
    --surface-card: #ffffff;
    --surface-dark: #1a1a2e;

    /* Text */
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-disabled: #9aa0a6;
    --text-on-dark: #ffffff;

    /* Spacing */
    --safe-area-top: env(safe-area-inset-top, 0px);
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Quasar Dark Mode Overrides for Custom UI Components */
body.body--dark {
    background: #121212 !important;
}

body.body--dark .bg-white {
    background: #1e1e1e !important;
}

body.body--dark .text-dark {
    color: #e8eaed !important;
}

body.body--dark .q-card {
    background: #1e1e1e;
    color: #e8eaed;
}

body.body--dark .q-page-container,
body.body--dark .q-page {
    background: #121212;
}

/* ============================================
   Bolkelime Styles
   ============================================ */

/* Sidebar — parent aside (Quasar q-drawer) */
aside.q-drawer:has(.bolkelime-sidebar) {
    position: fixed !important;
    top: 0;
    height: 100dvh !important;
    background: #ffffff;
}

/* Dark mode */
body.body--dark aside.q-drawer:has(.bolkelime-sidebar) {
    background: #1e1e1e;
}

.bolkelime-sidebar__logo {
    padding: 12px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bolkelime-sidebar__logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.bolkelime-sidebar__logo-icon {
    height: 36px;
    width: 36px;
}

.bolkelime-sidebar__logo-img {
    height: 38px;
}

.bolkelime-sidebar__item--active {
    color: var(--brand-primary) !important;
    font-weight: 600;
}

aside.q-drawer:has(.bolkelime-sidebar) .q-item__section--avatar {
    min-width: 36px;
}

aside.q-drawer:has(.bolkelime-sidebar) .q-item {
    border-radius: 10px;
    margin: 2px 6px;
}

/* Cards */
.bolkelime-card {
    border-radius: 12px !important;
    transition: box-shadow var(--transition-normal);
}

.bolkelime-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body.body--dark .bolkelime-card {
    background: #2d2d2d;
}

/* Global action pill (layout-level: search + go-to-top) */
.bolkelime-global-pill {
    position: fixed;
    bottom: clamp(16px, 2.5vw, 28px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: clamp(4px, 0.5vw, 8px) clamp(8px, 1vw, 16px) !important;
    gap: clamp(2px, 0.4vw, 8px) !important;
}
.bolkelime-global-pill .bolkelime-pill-btn {
    width:  clamp(30px, 2.8vw, 42px) !important;
    height: clamp(30px, 2.8vw, 42px) !important;
}
.bolkelime-global-pill .bolkelime-pill-btn .q-icon {
    font-size: clamp(24px, 1.5vw, 26px) !important;
}

/* Bolkelime Home page */
.bolkelime-home .q-linear-progress {
    border-radius: 6px;
}

.bolkelime-home .q-linear-progress__track {
    border-radius: 6px;
}

.bolkelime-home .q-linear-progress__model {
    border-radius: 6px;
}

/* Left-edge menu toggle tab */
.bolkelime-menu-tab {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    background: #ffffff;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.12);
    width: clamp(22px, 2vw, 34px);
    height: clamp(48px, 4.5vw, 68px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: box-shadow 0.2s, background 0.2s, opacity 0.2s;
}

.bolkelime-menu-tab .q-icon {
    font-size: clamp(12px, 1.2vw, 20px) !important;
}

.bolkelime-menu-tab--hidden {
    opacity: 0;
    pointer-events: none;
}

.bolkelime-menu-tab:hover {
    box-shadow: 2px 0 14px rgba(0, 0, 0, 0.22);
    background: #f5f5f5;
}

body.body--dark .bolkelime-menu-tab {
    background: #2d2d2d;
}

body.body--dark .bolkelime-menu-tab:hover {
    background: #383838;
}

/* Content centering — drawer is always overlay so page-container is full-width */
.bolkelime-layout .q-page-container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Extra bottom padding so content doesn't hide behind the floating pill */
.bolkelime-layout .q-page {
    padding-bottom: 88px !important;
}

/* ============================================
   Bolkelime Word Detail Page
   ============================================ */
.bolkelime-word-container {
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 80px;
    transition: opacity 0.2s ease;
}
.bolkelime-word-container.bkw-transitioning {
    opacity: 0.6;
}

/* Sticky Header */
.bolkelime-word-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0 0 12px 12px;
    margin: -16px -16px 16px -16px;
    transition: background 0.3s, border-color 0.3s;
}

body.body--dark .bolkelime-word-header {
    background: rgba(30, 30, 30, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.bolkelime-word-header__left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.bolkelime-word-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.body--dark .bolkelime-word-title {
    color: #e8eaed;
}

/* Pronunciation Flags */
.bolkelime-pron-flags {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bolkelime-pron-flag {
    background: none;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    padding: 3px;
    width: 34px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.25s ease;
}

.bolkelime-pron-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

.bolkelime-pron-flag:hover {
    border-color: #4285f4;
    transform: scale(1.08);
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

.bolkelime-pron-flag.playing {
    border-color: #34a853;
    background: rgba(52, 168, 83, 0.1);
    animation: bolkelime-flag-pulse 1.2s ease;
}

@keyframes bolkelime-flag-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.6);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(52, 168, 83, 0);
        transform: scale(1.08);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(52, 168, 83, 0);
        transform: scale(1);
    }
}

/* Frequency */
.bolkelime-freq-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bolkelime-freq-btn {
    min-width: 28px !important;
    min-height: 28px !important;
}

.bolkelime-freq-count {
    font-size: 12px;
    font-weight: 700;
    color: #4285f4;
}

body.body--dark .bolkelime-freq-count {
    color: #8ab4f8;
}

/* Tabs */
.bolkelime-word-tabs {
    margin-bottom: 0;
}

.bolkelime-meaning-tabs {
    background: #f5f7fa;
    border-radius: 10px 10px 0 0;
    transition: background 0.3s;
}

body.body--dark .bolkelime-meaning-tabs {
    background: #2a2a2a;
}

.bolkelime-meaning-tab {
    text-transform: capitalize !important;
    font-weight: 500;
    min-width: 48px;
}

/* Tab Panels */
.bolkelime-word-panels {
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.60);
    transition: background 0.3s, box-shadow 0.3s;
    min-height: 65vh;
}

body.body--dark .bolkelime-word-panels {
    background: #2a2a2a;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* Meaning Content */
.bolkelime-meaning-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 8px 0 16px;
    line-height: 1.4;
}

body.body--dark .bolkelime-meaning-title {
    color: #e8eaed;
}

.bolkelime-meaning-explanation {
    color: #555;
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 14px;
}

body.body--dark .bolkelime-meaning-explanation {
    color: #bbb;
}

.bolkelime-meaning-notes {
    padding: 10px 14px;
    border-radius: 8px;
    background: #f8f9fa;
    margin-bottom: 14px;
    font-weight: 500;
    line-height: 1.6;
    transition: background 0.3s;
}

body.body--dark .bolkelime-meaning-notes {
    background: #333;
    color: #ddd;
}

.bolkelime-meaning-also,
.bolkelime-meaning-synonyms,
.bolkelime-meaning-antonyms {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #f8f9fa;
    margin-bottom: 10px;
    font-size: 15px;
    transition: background 0.3s;
}

body.body--dark .bolkelime-meaning-also,
body.body--dark .bolkelime-meaning-synonyms,
body.body--dark .bolkelime-meaning-antonyms {
    background: #333;
}

.bolkelime-also-label {
    font-weight: 600;
    margin-right: 4px;
}

.bolkelime-also-word {
    font-weight: 500;
}

.bolkelime-word-link {
    color: #4285f4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.bolkelime-word-link:hover {
    text-decoration: underline;
    color: #1a73e8;
}

/* Example Sentences */
.bolkelime-example-item {
    padding: 11px 14px;
    margin-bottom: 10px;
    border-left: 3px solid #4285f4;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    transition: background 0.3s, transform 0.2s;
}

.bolkelime-example-item:hover {
    background: #eef1f6;
    transform: translateX(2px);
}

body.body--dark .bolkelime-example-item {
    background: #333;
}

body.body--dark .bolkelime-example-item:hover {
    background: #3a3a3a;
}

/* Highlight effect for <strong> words in sentences */
.bolkelime-example-item strong {
    position: relative;
    display: inline-block;
    padding: 0 4px;
    font-weight: 800;
    color: #111 !important;
    /* Force dark text for readability against the yellow marker */
    z-index: 1;
}

.bolkelime-example-item strong::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 3px 5px 3px 5px;
    --mark-color: 255 232 62;
    /* Yellow marker */
    --mark-bg-angle: 50deg;
    background: conic-gradient(at 0 100%, rgb(var(--mark-color)/100%) 1%, #fff0 3%) no-repeat 0 0/auto 120%,
        conic-gradient(from 180deg at 100% 0, #fff0, rgb(var(--mark-color)/100%) 1%, #fff0 4%) no-repeat 100% 100%/auto 120%,
        linear-gradient(var(--mark-bg-angle), rgb(var(--mark-color)/80%), rgb(var(--mark-color)/30%) 75%, rgb(var(--mark-color)/70%)) no-repeat center/auto;
    rotate: 1deg;
    scale: 1.05;
    transform: skew(-5deg);
}

body.body--dark .bolkelime-example-item strong {
    color: #ffd54f !important;
    background: rgba(255, 213, 79, 0.15);
    border-radius: 4px;
}

body.body--dark .bolkelime-example-item strong::before {
    display: none;
}

.bolkelime-example-eng {
    font-size: 17px;
    font-weight: 600;
    color: #222;
    margin: 0 0 6px;
    line-height: 1.5;
}

body.body--dark .bolkelime-example-eng {
    color: #e8eaed;
}

.bolkelime-example-tur {
    font-size: 16px;
    font-weight: 500;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

body.body--dark .bolkelime-example-tur {
    color: #bbb;
}

/* Info Sections */
.bolkelime-info-section {
    margin-bottom: 20px;
    padding: 14px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: background 0.3s;
}

body.body--dark .bolkelime-info-section {
    background: #333;
}

.bolkelime-info-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
}

body.body--dark .bolkelime-info-title {
    color: #e0e0e0;
}

/* Word Forms */
.bolkelime-word-forms {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bolkelime-form-chip {
    background: #fff;
    padding: 7px 12px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.bolkelime-form-chip:hover {
    border-color: #4285f4;
    box-shadow: 0 2px 6px rgba(66, 133, 244, 0.2);
}

body.body--dark .bolkelime-form-chip {
    background: #2a2a2a;
    border-color: #444;
}

.bolkelime-form-label {
    font-weight: 600;
    color: #888;
    margin-right: 5px;
    font-size: 13px;
}

.bolkelime-form-value {
    font-weight: 600;
    color: #333;
}

body.body--dark .bolkelime-form-value {
    color: #e0e0e0;
}

/* Step Info Grid */
.bolkelime-step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.bolkelime-step-item {
    background: #fff;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.bolkelime-step-item:hover {
    border-color: #4285f4;
    box-shadow: 0 2px 6px rgba(66, 133, 244, 0.2);
}

body.body--dark .bolkelime-step-item {
    background: #2a2a2a;
    border-color: #444;
}

.bolkelime-step-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    margin-bottom: 4px;
}

.bolkelime-step-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #4285f4;
}

body.body--dark .bolkelime-step-value {
    color: #8ab4f8;
}

/* Quick meanings summary */
.bolkelime-quick-meaning {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    line-height: 1.5;
}

.bolkelime-quick-meaning:last-child {
    border-bottom: none;
}

body.body--dark .bolkelime-quick-meaning {
    border-bottom-color: #444;
}

/* Notes */
.bolkelime-note-item {
    background: #fff;
    padding: 11px 14px;
    border-radius: 6px;
    border-left: 4px solid #fbbc04;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    line-height: 1.6;
    transition: box-shadow 0.25s, transform 0.25s;
}

.bolkelime-note-item:hover {
    box-shadow: 0 2px 8px rgba(251, 188, 4, 0.25);
    transform: translateX(2px);
}

body.body--dark .bolkelime-note-item {
    background: #2a2a2a;
    border-left-color: #f9a825;
}

/* Related Words */
.bolkelime-related-words {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 12px;
    transition: border-color 0.3s;
}

body.body--dark .bolkelime-related-words {
    border-color: #444;
}

.bolkelime-related-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.bolkelime-related-chip {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: #e9f3fe;
    color: #4285f4;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s;
}

.bolkelime-related-chip:hover {
    background: #4285f4;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(66, 133, 244, 0.3);
}

body.body--dark .bolkelime-related-chip {
    background: #333;
    color: #8ab4f8;
}

body.body--dark .bolkelime-related-chip:hover {
    background: #4285f4;
    color: #fff;
}

/* Floating Bottom Action Bar */
.bolkelime-bottom-action-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #eaeaea;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    z-index: 100;
}

body.body--dark .bolkelime-bottom-action-bar {
    background: #1e1e1e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

@media (max-width: 960px) {
    .bolkelime-word-header {
        margin: -16px -16px 12px -16px;
    }
}

/* ---- Global Reset & Base ---- */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--surface-bg);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ---- Splash Screen ---- */
#splash-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-bg);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    text-align: center;
}

.splash-logo {
    width: 120px;
    height: auto;
    margin-bottom: 32px;
    animation: splash-pulse 2s ease-in-out infinite;
}

.splash-spinner {
    width: 32px;
    height: 32px;
    margin: 0 auto;
    border: 3px solid rgba(31, 43, 45, 0.10);
    border-top-color: var(--brand-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes splash-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.85;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---- App Shell ---- */
.q-layout {
    min-height: 100vh;
}

.q-page-container {
    background: transparent;
    position: relative;
    z-index: 1;
}

.q-page {
    background: transparent;
}

/* iOS safe area padding */
.q-header .q-toolbar {
    padding-top: var(--safe-area-top);
}

.q-footer {
    padding-bottom: var(--safe-area-bottom);
}

/* ---- Page Transitions ---- */
.page-enter-active,
.page-leave-active {
    transition: opacity 0.25s ease;
}

.page-enter-from {
    opacity: 0;
}

.page-leave-to {
    opacity: 0;
}

/* Fade transition for modals/overlays */
.fade-enter-active,
.fade-leave-active {
    transition: opacity var(--transition-normal);
}

.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}

/* ---- Auth Pages ---- */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 32px 16px;
    position: relative;
    overflow: hidden;
    background-color: #faf9f5 !important;
}
body.body--dark .auth-page {
    background-color: #faf9f5 !important;
}


.auth-card {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(31, 43, 45, 0.08);
    box-shadow:
        0 18px 40px rgba(31, 43, 45, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.auth-card .q-card__section {
    padding: 32px 28px;
}

/* Override browser autofill yellow background on auth forms */
.auth-card input:-webkit-autofill,
.auth-card input:-webkit-autofill:hover,
.auth-card input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset;
    box-shadow: 0 0 0px 1000px #ffffff inset;
    -webkit-text-fill-color: inherit;
    transition: background-color 9999s ease-in-out 0s;
}

.auth-logo {
    display: block;
    margin: 0 auto 24px;
    width: 80px;
    height: auto;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: #1f2b2d;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 0.9rem;
    text-align: center;
    color: #5f6368;
    margin-bottom: 28px;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 0.85rem;
}

.auth-links a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.auth-links a:hover {
    color: var(--brand-primary-dark);
}

/* ---- Home Page ---- */
.home-page {
    padding: 24px 16px 32px;
    min-height: 100%;
}

.home-page__inner {
    padding-top: 8px;
}

.home-page__welcome {
    background: var(--surface-card) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--brand-primary);
    transition: box-shadow var(--transition-normal);
}

.home-page__welcome:hover {
    box-shadow: 0 6px 28px rgba(66, 133, 244, 0.12);
}

body.body--dark .home-page__welcome {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.body--dark .home-page__welcome:hover {
    box-shadow: 0 6px 28px rgba(66, 133, 244, 0.2);
}

.home-page__actions {
    padding-top: 8px;
}

.home-page__btn {
    min-height: 40px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Package cards */
.package-card {
    border-radius: 20px;
    background: var(--surface-card) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.package-card:hover,
.package-card:active {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.package-card--ydstime:hover,
.package-card--ydstime:active {
    box-shadow: 0 12px 32px rgba(234, 88, 12, 0.22);
}

.package-card--bolkelime:hover,
.package-card--bolkelime:active {
    box-shadow: 0 12px 32px rgba(66, 133, 244, 0.25);
}

.package-card__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    margin: 0 auto;
}

.package-card__icon-wrap--ydstime {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.12) 0%, rgba(251, 146, 60, 0.15) 100%);
}

.package-card__icon-wrap--bolkelime {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.12) 0%, rgba(147, 197, 253, 0.15) 100%);
}

body.body--dark .package-card__icon-wrap--ydstime {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.25) 0%, rgba(251, 146, 60, 0.2) 100%);
}

body.body--dark .package-card__icon-wrap--bolkelime {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.25) 0%, rgba(147, 197, 253, 0.2) 100%);
}

.package-card__img {
    max-height: 44px;
    width: auto;
    object-fit: contain;
}

.package-card img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

body.body--dark .package-card {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

body.body--dark .package-card:hover,
body.body--dark .package-card:active {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

/* ---- Bottom Navigation ---- */
.bottom-nav .q-tab {
    text-transform: none;
    font-weight: 500;
    letter-spacing: 0;
}

/* ---- YDSTime Mobile Menu Tab (left-edge drawer trigger) ---- */
.ydstime-mobile-menu-tab {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2100;
    background: var(--brand-secondary, #1a1a2e);
    color: #fff;
    border-radius: 0 10px 10px 0;
    padding: 30px 4px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.25);
    transition: background 0.2s;
    user-select: none;
}

.ydstime-mobile-menu-tab:active {
    background: #2d2d4a;
}

.ydstime-mobile-menu-tab__badge {
    background: #e53935;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* ---- Utility Classes ---- */
.text-brand {
    color: var(--brand-primary) !important;
}

.bg-brand {
    background-color: var(--brand-primary) !important;
}

.bg-brand-dark {
    background-color: var(--surface-dark) !important;
}

.rounded-xl {
    border-radius: 16px !important;
}

.rounded-2xl {
    border-radius: 20px !important;
}

/* ---- Micro-animations ---- */
.bounce-on-tap:active {
    transform: scale(0.96);
    transition: transform 0.1s ease;
}

/* ---- Scrollbar Styling ---- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* ---- Mobile Specific ---- */
@media (max-width: 599px) {
    .auth-card .q-card__section {
        padding: 24px 20px;
    }

    .auth-logo {
        width: 64px;
    }

    .auth-title {
        font-size: 1.3rem;
    }
}

/* ---- PWA Standalone Mode Tweaks ---- */
@media (display-mode: standalone) {
    body {
        user-select: none;
    }
}

/* ============================================================
   CHECKOUT PAGE STYLES
   ============================================================ */

.checkout-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #667eea;
}

.checkout-user-info {
    background: rgba(247, 250, 252, 0.8);
    padding: 0.875rem 1rem;
    border-radius: 10px;
    border: 2px solid rgba(226, 232, 240, 0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-total-box {
    font-size: 1.35rem;
    font-weight: 700;
    color: #38a169;
    text-align: center;
    padding: 1rem;
    background: rgba(240, 255, 244, 0.8);
    border-radius: 10px;
    border: 2px solid rgba(154, 230, 180, 0.5);
}

.checkout-payment-option {
    border: 2px solid rgba(226, 232, 240, 0.6);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(247, 250, 252, 0.6);
}

.checkout-payment-option:hover {
    background: rgba(237, 242, 247, 0.8);
    border-color: #cbd5e0;
}

.checkout-payment-option.active {
    border-color: #667eea;
    background: rgba(237, 242, 247, 0.8);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.checkout-yokdil-section {
    padding: 1rem;
    background: rgba(247, 250, 252, 0.6);
    border-radius: 10px;
    border: 2px solid rgba(226, 232, 240, 0.6);
}

.checkout-exam-chip {
    padding: 0.375rem 0.75rem;
    background: rgba(247, 250, 252, 0.6);
    border: 2px solid rgba(226, 232, 240, 0.6);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkout-exam-chip:hover {
    background: rgba(237, 242, 247, 0.8);
}

.checkout-result-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.checkout-result-success {
    background: #4caf50;
}

.checkout-result-fail {
    background: #f44336;
}

/* YDSTime: own theme/font (ignore app theme and profile font-size) */
.ydstime-layout-root {
    min-height: 100vh;
    font-size: 16px;
}

/* Desktop: root and wrap fill viewport so only main content scrolls */
.ydstime-layout-root:has(.ydstime-desktop-wrap) {
    height: 100vh;
    overflow: hidden;
}

/* YDSTime theme options page */
.ydstime-theme-title {
    color: #7bb7fa;
}

.ydstime-theme-filter {
    background: #f0dbbb;
    color: #000;
}

.ydstime-theme-filter--active {
    background: #baac97;
}

.ydstime-themebox {
    min-height: 120px;
    border-radius: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 3rem;
}

.ydstime-themebox-label {
    position: absolute;
    bottom: 0;
    right: 0;
    background: grey;
    padding: 6px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.2s;
    cursor: pointer;
}

.ydstime-themebox:hover .ydstime-themebox-label {
    opacity: 1;
}

.ydstime-themebox-done {
    background: #F3E5AB;
    color: black;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 14px;
}

/* YDSTime desktop layout: fixed sidebar + main scrolls independently (no page scroll) */
.ydstime-desktop-wrap {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: row;
}

.ydstime-desktop-sidebar {
    flex: 0 0 336px;
    width: 336px;
    height: 100%;
    overflow: hidden;
    background: transparent !important;
    display: flex;
    flex-direction: column;
}

.ydstime-desktop-main {
    flex: 1;
    min-width: 0;
    min-height: 0;
    overflow: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    max-width: 720px;
    width: 100%;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
}

.ydstime-desktop-main>* {
    flex: 1 1 0;
    min-height: 0;
}

.ydstime-topbar-content {
    max-width: 100%;
}

.ydstime-topbar-breadcrumb-row {
    background: #fff;
    color: #000;
    padding: 8px 12px;
    border-radius: 4px;
}

/* Hide breadcrumb row on large screens when desktop menu is visible; show only on small screens */
.ydstime-layout-root:has(.ydstime-desktop-wrap) .ydstime-topbar-breadcrumb-row {
    display: none !important;
}

.ydstime-topbar-breadcrumb-row .ydstime-topbar-breadcrumb-text,
.ydstime-topbar-breadcrumb-row .ydstime-topbar-breadcrumb-text .q-icon {
    color: #000 !important;
}

/* YDSTime home welcome area — white text on theme background, white bg buttons.
 * When a YDSTime theme is active, the theme name is also set on body (e.g. body.theme112)
 * so you can override per theme for light vs dark backgrounds, e.g.:
 *   body.theme112 .welcome_area { color: #000000; }
 *   body.theme030 .welcome_area { background: white; border-radius: 10px; padding: 10px; color: #000; }
 */
:root {
    --inheritcolor: #ffffff;
}

.welcome_area {
    font-size: 1.25rem;
    padding: 1.25rem 0 1.875rem;
    color: var(--inheritcolor);
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.welcome_area .highlight-1 {
    background: url(https://s2.svgbox.net/pen-brushes.svg?ic=brush-1&color=ffffff);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 6px 10px;
    color: #41403e;
    display: inline-block;
    margin-left: 4px;
    margin-right: 4px;
    z-index: 1;
}

.welcome_area .button-brd {
    align-self: center;
    background-color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    box-sizing: border-box;
    color: #000;
    cursor: pointer;
    padding: 10px 15px;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 600;
}

.welcome_area .button-brd:hover {
    box-shadow: rgba(0, 0, 0, .3) 2px 8px 8px -5px;
    transform: translate3d(0, 2px, 0);
    background: #F3E5AB;
}

.welcome_area a {
    color: inherit;
    text-decoration: none;
}

.welcome_area a .button-brd {
    color: #363636;
}

.welcome_area .loadlastvideo {
    display: block;
    width: 80%;
    max-width: 310px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Modern welcome section (Ydstime home right side) */
.welcome_area.welcome_area--modern {
    padding: 1rem 0 2rem;
    max-width: 720px;
    position: relative;
}

.welcome_area--modern .welcome_hero {
    margin-bottom: 1.25rem;
}

.welcome_area--modern .welcome_hero_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.welcome_area--modern .welcome_hero_row .welcome_greeting {
    margin: 0;
    flex: 1;
    min-width: 0;
}

.welcome_area--modern .welcome_hero_spacer {
    flex: 1;
}

.welcome_area--modern .welcome_section_settings_btn {
    flex-shrink: 0;
    color: var(--inheritcolor);
    opacity: 0.85;
}

.welcome_area--modern .welcome_section_settings_btn:hover {
    opacity: 1;
}

.welcome_area--modern .welcome_greeting {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    line-height: 1.3;
    color: var(--inheritcolor);
}

.welcome_area--modern .welcome_message {
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0;
    opacity: 0.95;
    color: var(--inheritcolor);
}

.welcome_area--modern .welcome_stats {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
    color: var(--inheritcolor);
}

body.theme030 .welcome_area--modern .welcome_stats,
body.theme036 .welcome_area--modern .welcome_stats,
body.theme037 .welcome_area--modern .welcome_stats,
body.theme041 .welcome_area--modern .welcome_stats,
body.theme042 .welcome_area--modern .welcome_stats,
body.theme038 .welcome_area--modern .welcome_stats,
body.theme10 .welcome_area--modern .welcome_stats,
body.theme034 .welcome_area--modern .welcome_stats,
body.theme112 .welcome_area--modern .welcome_stats,
body.themenew22 .welcome_area--modern .welcome_stats,
body.themenew23 .welcome_area--modern .welcome_stats,
body.themenew26 .welcome_area--modern .welcome_stats,
body.themenew30 .welcome_area--modern .welcome_stats,
body.theme027 .welcome_area--modern .welcome_stats {
    background: rgba(0, 0, 0, 0.06);
}

.welcome_area--modern .welcome_stats_label {
    display: block;
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 0.25rem;
}

.welcome_area--modern .welcome_cta {
    margin-bottom: 1.5rem;
}

.welcome_area--modern .welcome_cta_btn {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #1a1a2e !important;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.welcome_area--modern .welcome_cta_btn:hover {
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.welcome_area--modern .welcome_checklist_wrap {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
}

body.theme030 .welcome_area--modern .welcome_checklist_wrap,
body.theme036 .welcome_area--modern .welcome_checklist_wrap,
body.theme037 .welcome_area--modern .welcome_checklist_wrap,
body.theme041 .welcome_area--modern .welcome_checklist_wrap,
body.theme042 .welcome_area--modern .welcome_checklist_wrap,
body.theme038 .welcome_area--modern .welcome_checklist_wrap,
body.theme10 .welcome_area--modern .welcome_checklist_wrap,
body.theme034 .welcome_area--modern .welcome_checklist_wrap,
body.theme112 .welcome_area--modern .welcome_checklist_wrap,
body.themenew22 .welcome_area--modern .welcome_checklist_wrap,
body.themenew23 .welcome_area--modern .welcome_checklist_wrap,
body.themenew26 .welcome_area--modern .welcome_checklist_wrap,
body.themenew30 .welcome_area--modern .welcome_checklist_wrap,
body.theme027 .welcome_area--modern .welcome_checklist_wrap {
    background: rgba(0, 0, 0, 0.06);
}

.welcome_area--modern .welcome_checklist_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    cursor: pointer;
    user-select: none;
    color: var(--inheritcolor);
    font-weight: 600;
}

.welcome_area--modern .welcome_checklist_header:hover {
    background: rgba(255, 255, 255, 0.08);
}

body.theme030 .welcome_area--modern .welcome_checklist_header:hover,
body.theme036 .welcome_area--modern .welcome_checklist_header:hover,
body.theme037 .welcome_area--modern .welcome_checklist_header:hover,
body.theme041 .welcome_area--modern .welcome_checklist_header:hover,
body.theme042 .welcome_area--modern .welcome_checklist_header:hover,
body.theme038 .welcome_area--modern .welcome_checklist_header:hover,
body.theme10 .welcome_area--modern .welcome_checklist_header:hover,
body.theme034 .welcome_area--modern .welcome_checklist_header:hover,
body.theme112 .welcome_area--modern .welcome_checklist_header:hover,
body.themenew22 .welcome_area--modern .welcome_checklist_header:hover,
body.themenew23 .welcome_area--modern .welcome_checklist_header:hover,
body.themenew26 .welcome_area--modern .welcome_checklist_header:hover,
body.themenew30 .welcome_area--modern .welcome_checklist_header:hover,
body.theme027 .welcome_area--modern .welcome_checklist_header:hover {
    background: rgba(0, 0, 0, 0.06);
}

.welcome_area--modern .welcome_checklist_title {
    display: flex;
    align-items: center;
}

.welcome_area--modern .welcome_checklist_body {
    padding: 0 1rem 1rem;
}

.welcome_checklist_transition-enter-active,
.welcome_checklist_transition-leave-active {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.welcome_checklist_transition-enter-from,
.welcome_checklist_transition-leave-to {
    opacity: 0;
    transform: translateY(-4px);
}

.welcome_area--modern .welcome_checklist_item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--inheritcolor);
}

body.theme030 .welcome_area--modern .welcome_checklist_item,
body.theme036 .welcome_area--modern .welcome_checklist_item,
body.theme037 .welcome_area--modern .welcome_checklist_item,
body.theme041 .welcome_area--modern .welcome_checklist_item,
body.theme042 .welcome_area--modern .welcome_checklist_item,
body.theme038 .welcome_area--modern .welcome_checklist_item,
body.theme10 .welcome_area--modern .welcome_checklist_item,
body.theme034 .welcome_area--modern .welcome_checklist_item,
body.theme112 .welcome_area--modern .welcome_checklist_item,
body.themenew22 .welcome_area--modern .welcome_checklist_item,
body.themenew23 .welcome_area--modern .welcome_checklist_item,
body.themenew26 .welcome_area--modern .welcome_checklist_item,
body.themenew30 .welcome_area--modern .welcome_checklist_item,
.welcome_area--modern .welcome_checklist_content {
    flex: 1;
    min-width: 0;
}

.welcome_area--modern .welcome_checklist_label {
    font-weight: 600;
    font-size: 1rem;
    color: var(--inheritcolor);
    text-decoration: none;
}

.welcome_area--modern .welcome_checklist_label:hover {
    text-decoration: underline;
}

.welcome_area--modern .welcome_checklist_action {
    cursor: pointer;
}

.welcome_area--modern .welcome_checklist_desc {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.85;
}

.welcome_area--modern .welcome_checklist_item:last-child {
    border-bottom: none;
}

.welcome_area--modern .welcome_links_intro {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    color: var(--inheritcolor);
}

.welcome_area--modern .welcome_links_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.5rem;
}

.welcome_area--modern .welcome_link_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a2e;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.15s;
    font-family: inherit;
}

.welcome_area--modern .welcome_link_btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

body.theme030 .welcome_area--modern .welcome_link_btn,
body.theme036 .welcome_area--modern .welcome_link_btn,
body.theme037 .welcome_area--modern .welcome_link_btn,
body.theme041 .welcome_area--modern .welcome_link_btn,
body.theme042 .welcome_area--modern .welcome_link_btn,
body.theme038 .welcome_area--modern .welcome_link_btn,
body.theme10 .welcome_area--modern .welcome_link_btn,
body.theme034 .welcome_area--modern .welcome_link_btn {
    border-color: rgba(0, 0, 0, 0.12);
    background: #fff;
    color: #1a1a2e;
}

.welcome_area--modern .welcome_social {
    margin-top: 1.5rem;
}

.welcome_area--modern .welcome_sinav_takvimi {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
}

body.theme030 .welcome_area--modern .welcome_sinav_takvimi,
body.theme036 .welcome_area--modern .welcome_sinav_takvimi,
body.theme037 .welcome_area--modern .welcome_sinav_takvimi,
body.theme041 .welcome_area--modern .welcome_sinav_takvimi,
body.theme042 .welcome_area--modern .welcome_sinav_takvimi,
body.theme038 .welcome_area--modern .welcome_sinav_takvimi,
body.theme10 .welcome_area--modern .welcome_sinav_takvimi,
body.theme034 .welcome_area--modern .welcome_sinav_takvimi,
body.theme112 .welcome_area--modern .welcome_sinav_takvimi,
body.themenew22 .welcome_area--modern .welcome_sinav_takvimi,
body.themenew23 .welcome_area--modern .welcome_sinav_takvimi,
body.themenew26 .welcome_area--modern .welcome_sinav_takvimi,
body.themenew30 .welcome_area--modern .welcome_sinav_takvimi,
body.theme027 .welcome_area--modern .welcome_sinav_takvimi {
    background: rgba(0, 0, 0, 0.06);
}

.welcome_area--modern .welcome_sinav_takvimi_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.welcome_area--modern .welcome_sinav_takvimi_title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--inheritcolor);
}

.welcome_area--modern .welcome_sinav_takvimi_table_wrap {
    overflow-x: auto;
}

.welcome_area--modern .welcome_sinav_takvimi_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    color: var(--inheritcolor);
}

.welcome_area--modern .welcome_sinav_takvimi_table th,
.welcome_area--modern .welcome_sinav_takvimi_table td {
    padding: 0.5rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

body.theme030 .welcome_area--modern .welcome_sinav_takvimi_table th,
body.theme030 .welcome_area--modern .welcome_sinav_takvimi_table td,
body.theme036 .welcome_area--modern .welcome_sinav_takvimi_table th,
body.theme036 .welcome_area--modern .welcome_sinav_takvimi_table td,
body.theme112 .welcome_area--modern .welcome_sinav_takvimi_table th,
body.theme112 .welcome_area--modern .welcome_sinav_takvimi_table td {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.welcome_area--modern .welcome_sinav_takvimi_table th {
    font-weight: 600;
    opacity: 0.9;
}

.welcome_area--modern .welcome_sinav_takvimi_empty {
    margin: 0;
    font-size: 0.875rem;
    color: var(--inheritcolor);
    opacity: 0.8;
}

.welcome_home_prefs_modal_card {
    min-width: 380px;
    max-width: 95vw;
}

.welcome_home_prefs_modal_title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.welcome_home_prefs_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.welcome_home_prefs_row:last-of-type {
    border-bottom: none;
}

.welcome_home_prefs_label {
    flex: 1;
    font-size: 0.95rem;
}

.welcome_home_prefs_exams {
    border-left: 3px solid rgba(0, 0, 0, 0.12);
    padding-left: 0.75rem;
}

.welcome_sinav_takvimi_modal_card {
    min-width: 320px;
    max-width: 90vw;
}

.welcome_sinav_takvimi_modal_title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.welcome_sinav_takvimi_modal_group_title {
    margin: 0.5rem 0 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: inherit;
}

.welcome_sinav_takvimi_modal_group_title:first-of-type {
    margin-top: 0;
}

.welcome_sinav_takvimi_modal_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.25rem 0;
}

.welcome_sinav_takvimi_modal_date {
    font-size: 0.8rem;
    opacity: 0.8;
}

.welcome_area--modern .welcome_social_title {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--inheritcolor);
}

.welcome_area--modern .welcome_social_links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.welcome_area--modern .welcome_social_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: var(--inheritcolor);
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    font-size: 1.25rem;
}

.welcome_area--modern .welcome_social_link:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.08);
    color: var(--inheritcolor);
}

body.theme030 .welcome_area--modern .welcome_social_link,
body.theme036 .welcome_area--modern .welcome_social_link,
body.theme037 .welcome_area--modern .welcome_social_link,
body.theme041 .welcome_area--modern .welcome_social_link,
body.theme042 .welcome_area--modern .welcome_social_link,
body.theme038 .welcome_area--modern .welcome_social_link,
body.theme10 .welcome_area--modern .welcome_social_link,
body.theme034 .welcome_area--modern .welcome_social_link,
body.theme112 .welcome_area--modern .welcome_social_link,
body.themenew22 .welcome_area--modern .welcome_social_link,
body.themenew23 .welcome_area--modern .welcome_social_link,
body.themenew26 .welcome_area--modern .welcome_social_link,
body.themenew30 .welcome_area--modern .welcome_social_link,
body.theme027 .welcome_area--modern .welcome_social_link {
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
}

body.theme030 .welcome_area--modern .welcome_social_link:hover,
body.theme036 .welcome_area--modern .welcome_social_link:hover,
body.theme037 .welcome_area--modern .welcome_social_link:hover,
body.theme041 .welcome_area--modern .welcome_social_link:hover,
body.theme042 .welcome_area--modern .welcome_social_link:hover,
body.theme038 .welcome_area--modern .welcome_social_link:hover,
body.theme10 .welcome_area--modern .welcome_social_link:hover,
body.theme034 .welcome_area--modern .welcome_social_link:hover,
body.theme112 .welcome_area--modern .welcome_social_link:hover,
body.themenew22 .welcome_area--modern .welcome_social_link:hover,
body.themenew23 .welcome_area--modern .welcome_social_link:hover,
body.themenew26 .welcome_area--modern .welcome_social_link:hover,
body.themenew30 .welcome_area--modern .welcome_social_link:hover,
body.theme027 .welcome_area--modern .welcome_social_link:hover {
    background: rgba(0, 0, 0, 0.14);
}

.welcome_area--modern .welcome_footer {
    margin: 1.25rem 0 0.25rem;
    font-size: 1.1rem;
    color: var(--inheritcolor);
    opacity: 0.9;
}

.welcome_area--modern .welcome_brand {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--inheritcolor);
    opacity: 0.8;
    margin-top: 10px;
}

/* YDSTime theme overrides: body gets theme class (e.g. theme112) from YdstimeLayout.
 * Light-background themes: dark text and optional white welcome box. */
body.theme030 .welcome_area,
body.theme036 .welcome_area,
body.theme037 .welcome_area,
body.theme041 .welcome_area,
body.theme042 .welcome_area,
body.theme038 .welcome_area,
body.theme10 .welcome_area,
body.theme034 .welcome_area {
    background: white;
    border-radius: 10px;
    padding: 10px;
    --inheritcolor: #000000 !important;
}

body.theme112,
body.themenew22,
body.themenew23,
body.themenew26,
body.themenew30,
body.theme027,
body.theme030,
body.theme034,
body.theme036,
body.theme037,
body.theme041,
body.theme042,
body.theme038,
body.theme10 {
    --inheritcolor: #fff;
}

/* Per-theme welcome text color (dark text on light theme backgrounds) */
body.theme112 .welcome_area,
body.themenew22 .welcome_area,
body.themenew23 .welcome_area,
body.themenew26 .welcome_area,
body.themenew30 .welcome_area,
body.theme027 .welcome_area {
    --inheritcolor: #000000;
}

/* YDSTime Video Popup Fixes */
.ydstime-popup-modal .q-dialog__inner {
    padding: 0;
}

.ydstime-popup-modal__content {
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
}

.ydstime-popup-modal__iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* YdstimeVideoPlayer.js specific styles */
.ydstime-video-page {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: #0e1538;
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-overlay-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    /* IMPORTANT: Let clicks pass through the overlay container down to the Bunny.net iframe */
    pointer-events: none;
}

/* Re-enable pointer events ONLY for actual buttons and clickable elements */
.overlay-top-bar * {
    pointer-events: auto;
}

.overlay-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    z-index: 11;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.overlay-controls-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.video-title {
    display: inline-block;
    font-size: 20px;
    background: #FAF9F6;
    border-bottom: 2px solid #F3E5AB;
    color: black;
    padding: 6px 12px;
    font-family: 'Trebuchet MS', sans-serif;
    max-width: calc(100vw - 80px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dark-theme {
    background: #1e1e1e;
    color: #e0e0e0;
    border-color: #333;
}

.control-btn {
    background: #FAF9F6;
    border: 2px solid #F3E5AB;
    color: black;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: #F3E5AB;
    border-color: #bf9f1b;
}

/* Responsive button sizes — font-size drives all Quasar round button dimensions */
.overlay-btn {
    font-size: 18px !important;
}

@media (max-width: 599px) {
    .overlay-btn {
        font-size: 13px !important;
    }
    .overlay-controls-column {
        gap: 4px;
    }
    .video-title {
        font-size: 14px;
        padding: 4px 8px;
    }
}

@media (min-width: 600px) and (max-width: 1023px) {
    .overlay-btn {
        font-size: 15px !important;
    }
    .video-title {
        font-size: 16px;
        padding: 5px 10px;
    }
}

@media (min-width: 1440px) {
    .overlay-btn {
        font-size: 22px !important;
    }
    .overlay-controls-column {
        gap: 8px;
    }
    .video-title {
        font-size: 24px;
        padding: 8px 16px;
    }
}

.interaction-catcher {
    position: absolute;
    z-index: 9;
    /* Only auto where explicitly defined */
    pointer-events: auto;
}

.catcher-top {
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
}

.catcher-right {
    top: 120px;
    right: 0;
    width: 80px;
    height: calc(100% - 400px);
    /* Keeps bottom 80px free for player controls */
}

/* Live Class Player (Plyr + Bunny CDN) */
.liveclass-player-container,
.nonsecure-player-container {
    background: #0e1538 !important;
}

.liveclass-player-container video,
.nonsecure-player-container video {
    width: 100% !important;
    height: auto !important;
    max-height: 98% !important;
    object-fit: fill !important;
}

.liveclass-player-container .plyr,
.nonsecure-player-container .plyr {
    width: 100%;
    height: 100%;
}

.liveclass-player-container .plyr__video-wrapper,
.nonsecure-player-container .plyr__video-wrapper {
    width: 100%;
    height: 100%;
}

.liveclass-player-container .plyr__controls,
.nonsecure-player-container .plyr__controls {
    background: #1b4880 !important;
    opacity: 0.9;
    padding-top: 15px !important;
    padding-bottom: 5px !important;
}

.liveclass-player-container .plyr__progress__container,
.nonsecure-player-container .plyr__progress__container {
    top: 5px !important;
}

.liveclass-watermark,
.nonsecure-watermark {
    position: fixed !important;
    color: rgba(205, 211, 220, 0.5);
    z-index: 99999 !important;
    word-break: break-all;
    word-wrap: break-word;
    background: none !important;
    text-align: center !important;
    font-family: 'Roboto', sans-serif;
    pointer-events: none;
}

/* YDSTime exam results — full-page modal (original 25_examresults.php) */
.ydstime-examresults-dialog .q-dialog__inner {
    padding: 0;
}

.ydstime-examresults-card.full-height {
    min-height: 100vh;
    max-height: 100vh;
}

.noexamresult {
    font-size: 1.1rem;
    padding: 2.5rem 1.5rem;
    max-width: 720px;
}

.ydstime-examresults-table {
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    border: 4px solid #7bb7fa;
    border-radius: 10px;
    border-collapse: collapse;
    font-size: 1rem;
}

.ydstime-examresults-table thead {
    background-color: #7bb7fa;
    font-weight: bold;
    color: #fff;
}

.ydstime-examresults-table thead th {
    padding: 8px 10px;
    text-align: left;
    vertical-align: middle;
}

.ydstime-examresults-table tbody tr {
    border-bottom: 1px dotted #7bb7fa;
}

.ydstime-examresults-table tbody tr:hover {
    background-color: #faf8f7;
}

.ydstime-examresults-table td {
    padding: 8px 10px;
    vertical-align: middle;
}

.ydstime-examresults-review-link {
    display: inline-block;
    background-color: #7bb7fa;
    color: #fff;
    text-align: center;
    padding: 10px;
    margin-top: 6px;
    margin-bottom: 6px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
}

.ydstime-examresults-review-link:hover {
    background-color: #64a5f0;
    color: #fff;
}

/* Yasal Uyarı modal (original 39_yasaluyari.php) */
.ydstime-yasaluyari,
#yasaluyari.ydstime-yasaluyari {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 1.125rem;
    text-align: left;
    color: #000;
    line-height: 1.75;
    max-width: 96%;
    margin: 0 auto;
}

.ydstime-yasaluyari .red,
#yasaluyari .red {
    color: red !important;
}

.ydstime-yasaluyari .alinti,
#yasaluyari .alinti {
    font-style: italic;
    padding-left: 16px;
    display: block;
    margin: 0.5rem 0;
}

.ydstime-yasaluyari a,
#yasaluyari a {
    font-weight: bold;
    text-decoration: underline;
}

/* YDSTime right panel — shared for Tema Tercihim, Günlük Sürelerim, etc. */
.ydstime-right-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    pointer-events: none;
}

.ydstime-right-panel--open {
    pointer-events: auto;
}

.ydstime-right-panel__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ydstime-right-panel--open .ydstime-right-panel__backdrop {
    opacity: 1;
}

.ydstime-right-panel__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 420px;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.ydstime-right-panel__panel--wide {
    max-width: 900px;
}

@media (max-width: 599px) {

    .ydstime-right-panel__panel,
    .ydstime-right-panel__panel--wide {
        max-width: 100%;
    }
}

.ydstime-right-panel--open .ydstime-right-panel__panel {
    transform: translateX(0);
}

.ydstime-right-panel__header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    min-height: 48px;
}

.ydstime-right-panel__title {
    font-size: 1.1rem;
}

.ydstime-right-panel__content {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 0;
    -webkit-overflow-scrolling: touch;
}

.ydstime-right-panel__content .ydstime-theme-page {
    min-height: auto;
    padding: 1rem;
}

/* Günlük Sürelerim panel (original 29_gunluksureler.php — colours #7bb7fa, #eaf6ff) */
.ydstime-dailydurations {
    padding: 1rem;
    position: relative;
}

.monthlyvideostats .month-group {
    margin-bottom: 1.5rem;
    display: block;
}

.monthlyvideostats .month-title {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: bold;
    color: #5a9de0;
}

body.body--dark .monthlyvideostats .month-title {
    color: #8fc7ff;
}

.dailyvideostats .dailystat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    background: #eaf6ff;
    border: 1px solid #7bb7fa;
    padding: 8px 12px;
    text-align: center;
    border-radius: 4px;
}

.dailyvideostats .dailystat.lefty {
    text-align: center;
}

.dailyvideostats .dailystat .day {
    font-weight: 600;
    font-size: 0.95rem;
}

.dailyvideostats .dailystat .totaltime {
    font-variant-numeric: tabular-nums;
    font-size: 1rem;
    font-weight: bold;
    margin-left: 12px;
}

body.body--dark .dailyvideostats .dailystat {
    background: rgba(123, 183, 250, 0.2);
    border-color: rgba(123, 183, 250, 0.6);
}

/* İzlediğim Dersler panel (original 28_son10video.php — no page title, panel has title) */
.ydstime-lastvideos {
    padding: 1rem;
}

.latest50videos {
    min-height: 200px;
    color: #000;
}

.latest50videos .latestvideos {
    display: block;
    margin-bottom: 12px;
    width: 100%;
    max-width: 100%;
    background: #eaf6ff;
    border: 1px solid #7bb7fa;
    border-radius: 4px;
    padding: 8px 12px;
}

.latest50videos .latestvideos .date {
    display: block;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 4px;
}

.latest50videos .latestvideos .videotitle {
    display: block;
    font-size: 1rem;
    font-weight: bold;
}

body.body--dark .latest50videos {
    color: rgba(255, 255, 255, 0.9);
}

body.body--dark .latest50videos .latestvideos {
    background: rgba(123, 183, 250, 0.2);
    border-color: rgba(123, 183, 250, 0.6);
}

body.body--dark .latest50videos .latestvideos .date {
    color: rgba(255, 255, 255, 0.7);
}

/* Haftalık Program panel — same colours/layout as original app_home_style.css (#EEF7F7, #87A2FF, dotted separators) */
.ydstime-weekly-panel {
    padding: 0 10px;
}

.ydstime-weekly-empty {
    color: inherit;
}

#welcome_weekly,
.ydstime-weekly-welcome {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.ydstime-weekly-welcome .weekly_meta_info {
    display: inline-block;
    font-size: 1.15rem;
    background: #87A2FF;
    padding: 2px 6px;
    color: white;
    margin-bottom: 5px;
}

.ydstime-weekly-welcome .yuzde {
    font-size: 0.875rem;
}

.ydstime-weekly-welcome a.weekly_meta_info {
    text-decoration: none;
    color: white;
}

.ydstime-weekly-welcome a.weekly_meta_info:hover {
    opacity: 0.9;
}

.ydstime-weekly-tips {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.ydstime-weekly-tips a {
    background: #87A2FF;
    padding: 2px 6px;
    color: white;
    text-decoration: none;
}

.week_wrapper {
    display: block;
    padding: 4px;
    margin-bottom: 2rem;
    border: 2px solid #87A2FF;
    border-radius: 3px;
    background: #EEF7F7;
    padding-bottom: 10px;
}

.week_number {
    font-size: 1.2rem;
    font-weight: bold;
    border-bottom: 2px solid #87A2FF;
    padding: 3px;
    margin-bottom: 6px;
    position: relative;
}

.weekdate {
    font-size: 0.875rem;
    display: inline-block;
    float: right;
    padding-top: 4px;
}

.week_single_item {
    position: relative;
    padding: 15px 8px 15px 40px;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.4);
    transition: background 0.2s ease;
    min-height: 50px;
    box-sizing: border-box;
}

.week_single_item:last-child {
    border-bottom: none;
}

.week_single_item:hover {
    background: #ebf2ff;
}

body.body--dark .week_single_item {
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

body.body--dark .week_single_item:hover {
    background: rgba(235, 242, 255, 0.2);
}

.week_single_item_status {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
}

.week_single_item_status .q-icon {
    font-size: 28px;
}

.week_single_item_name {
    display: inline-block;
    font-weight: bold;
    font-size: 1rem;
    margin-right: 120px;
    cursor: pointer;
    transition: color 0.2s ease;
    word-break: break-word;
}

.week_single_item_name:hover {
    color: #6191c6;
}

body.body--dark .week_single_item_name:hover {
    color: #8fb4e8;
}

.week_single_item_details {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    text-align: right;
    font-size: 0.875rem;
    color: #5a6c7d;
}

body.body--dark .week_single_item_details {
    color: rgba(255, 255, 255, 0.7);
}

.week_single_item_category,
.week_single_item_video_duration {
    display: block;
    font-size: 0.875rem;
}

.week_single_item_category .q-icon,
.week_single_item_video_duration .q-icon {
    margin-right: 4px;
    vertical-align: middle;
}

/* Üyelik Bilgilerim panel (original 26_paketbilgisi.php — no page title, panel has title) */
.uyelikbilgileri {
    padding: 1rem;
    width: 100%;
}

.uyelikbilgileri .acountdetails {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    gap: 1rem;
}

.uyelikbilgileri .prhead {
    font-weight: bold;
    font-size: 1rem;
    color: #7bb7fa;
    flex-shrink: 0;
}

.uyelikbilgileri .prinfo {
    font-size: 1rem;
    background-color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    text-align: right;
}

.uyelikbilgileri .acountdetails.groupfirst {
    background-color: #dff0ff;
    border-radius: 4px;
}

body.body--dark .uyelikbilgileri .prhead {
    color: #7bb7fa;
}

body.body--dark .uyelikbilgileri .prinfo {
    background-color: rgba(255, 255, 255, 0.12);
}

body.body--dark .uyelikbilgileri .acountdetails.groupfirst {
    background-color: rgba(123, 183, 250, 0.2);
}

/* Bildirim Tercihlerim panel (original notification-settings.php) */
.ydstime-notification-settings {
    padding: 1rem;
}

.notification-settings-content .notification-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.03);
}

body.body--dark .notification-settings-content .notification-section {
    background: rgba(255, 255, 255, 0.06);
}

.notification-settings-content .section-title {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.notification-settings-content .section-desc {
    margin-bottom: 0.75rem;
}

.notification-settings-content .pref-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.notification-settings-content .time-select {
    min-width: 5rem;
}

.notification-settings-content .times-chips {
    display: flex;
    flex-wrap: wrap;
}

/* Go to top button (all right-panel pages; panel is position:absolute so button is relative to panel) */
.ydstime-panel-gotop {
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 100;
    pointer-events: auto;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.ydstime-gotop-fade-enter-active,
.ydstime-gotop-fade-leave-active {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ydstime-gotop-fade-enter-from,
.ydstime-gotop-fade-leave-to {
    opacity: 0;
    transform: translateY(8px);
}

/* Limit video checklist (filters + video list) width so links don't stretch */
.ydstime-checklist {
    max-width: 720px;
}

/* YDSTime menu items: white card per item, transparent sidebar background */
.ydstime-desktop-sidebar .q-scroll-area__container {
    padding: 0.5rem 0;
}

/* YDSTime menu logo — brush effect covers full width with margin */
.ydstime-menu-logo-wrap {
    display: block;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

.ydstime-menu-logo-wrap .highlight-1,
.ydstime-menu-logo.highlight-1 {
    background: url(https://s2.svgbox.net/pen-brushes.svg?ic=brush-1&color=ffffff);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 8px 14px;
    color: #41403e;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 0;
    cursor: pointer;
    min-height: 44px;
    box-sizing: border-box;
    width: 100%;
}

/* Same sizes as original #sitename (38px) and #sitename img (46px) */
.ydstime-menu-logo-img {
    width: 46px;
    height: auto;
    vertical-align: middle;
    flex-shrink: 0;
}

.ydstime-menu-logo-text {
    font-family: "geometryFont", "Nunito", "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 38px;
    color: #363636;
    letter-spacing: -0.02em;
    vertical-align: middle;
    line-height: 1;
}

.ydstime-menu-logo-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

.ydstime-menu-logo-btn {
    color: #363636;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    min-width: 44px;
    min-height: 44px;
}

.ydstime-menu-logo-btn:hover {
    color: #1a1a1a;
    background: #f3e5ab;
    border-color: rgba(0, 0, 0, 0.12);
}

.ydstime-menu-logo-btn--active {
    color: #1a1a1a;
    background: #f3e5ab !important;
    border-color: rgba(0, 0, 0, 0.12);
}

.ydstime-menu-item-btn {
    background: #fff;
    color: #111 !important;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    margin-bottom: 0.35rem;
    min-height: 40px;
}

.ydstime-menu-item-btn:hover {
    background: #f3e5ab;
    color: #111 !important;
}

.ydstime-menu-item--active,
.ydstime-menu-item-btn.ydstime-menu-item--active {
    background: #f3e5ab !important;
    color: #111 !important;
    border-color: rgba(0, 0, 0, 0.12);
}

.ydstime-desktop-sidebar .q-item-label__header {
    padding: 0.25rem 0 0.35rem 0;
    color: inherit;
}

.ydstime-desktop-sidebar .q-expansion-item {
    margin-bottom: 0.35rem;
}

/* First-level menu: when expanded, only the header row (e.g. Grammar button) gets #f3e5ab — not the submenu list */
.ydstime-menu-group.ydstime-menu-group--expanded .q-expansion-item__container>.q-item {
    background: #f3e5ab !important;
    color: #111 !important;
    border-color: rgba(0, 0, 0, 0.12);
}

.ydstime-menu-group.ydstime-menu-group--expanded .q-expansion-item__content {
    background: transparent !important;
}

.ydstime-layout-root .q-drawer .ydstime-menu-group.ydstime-menu-group--expanded .q-expansion-item__container>.q-item {
    background: #f3e5ab !important;
    color: #111 !important;
    border-color: rgba(0, 0, 0, 0.12);
}

/* Submenu items under expanded section: default white; only the active one gets yellow via .ydstime-menu-item--active */
.ydstime-menu-group--expanded .q-expansion-item__content .ydstime-menu-item-btn,
.ydstime-menu-group--expanded .q-list .ydstime-menu-item-btn {
    background: #fff !important;
    color: #111 !important;
}

.ydstime-menu-group--expanded .q-expansion-item__content .ydstime-menu-item-btn.ydstime-menu-item--active,
.ydstime-menu-group--expanded .q-list .ydstime-menu-item-btn.ydstime-menu-item--active {
    background: #f3e5ab !important;
    color: #111 !important;
}

.ydstime-desktop-sidebar .q-expansion-item .q-item__section--avatar {
    min-width: 40px;
}

/* Align no-sub menu items (Ana Sayfa, Haftalık Program, etc.) with expansion items: same icon-to-label gap */
.ydstime-desktop-sidebar .q-list>.q-item .q-item__section--avatar {
    min-width: 40px;
    width: 40px;
}

/* Same alignment in mobile drawer menu */
.ydstime-layout-root .q-drawer .q-expansion-item .q-item__section--avatar {
    min-width: 40px;
}

.ydstime-layout-root .q-drawer .q-list>.q-item .q-item__section--avatar {
    min-width: 40px;
    width: 40px;
}

/* YDSTime video list: card per row, white + border, active yellow */
.ydstime-video-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    margin-bottom: 0.35rem;
    min-height: 48px;
}

.ydstime-video-item:hover {
    background: #f3e5ab;
}

.ydstime-video-item.ydstime-video-item--active {
    background: #f3e5ab !important;
    border-color: rgba(0, 0, 0, 0.12);
}

/* YDSTime top bar buttons: default #FAF9F6, hover/active #F3E5AB, text black */
.ydstime-topbar-btns .q-btn {
    background: #FAF9F6 !important;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #000 !important;
}

.ydstime-topbar-btns .q-btn .q-icon {
    color: inherit !important;
}

.ydstime-topbar-btns .q-btn:hover {
    background: #F3E5AB !important;
}

.ydstime-topbar-btns .q-btn:active {
    background: #F3E5AB !important;
}

.ydstime-topbar-btns .q-btn.ydstime-topbar-btn--active,
.ydstime-topbar-btns .q-btn--unelevated {
    background: #F3E5AB !important;
    border-color: rgba(0, 0, 0, 0.2);
    color: #5d4037 !important;
}

.ydstime-topbar-btns .q-btn--unelevated .q-icon {
    color: inherit;
}

/* YDSTime video list: filter buttons + title and duration on one line */
.ydstime-video-filters {
    flex-wrap: wrap;
}

.ydstime-filter-btn {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #424242;
}

.ydstime-filter-btn:hover {
    background: #f3e5ab;
}

.ydstime-filter-btn--active {
    background: #f3e5ab !important;
    border-color: rgba(0, 0, 0, 0.2);
}

.ydstime-video-title-row {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
}

.ydstime-video-duration {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Flash Cards — native app-like menu and viewer */
.ydstime-flashcards-menu {
    max-width: 840px;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* When topbar page shows Flash Cards, fill viewport to remove gap below */
.ydstime-topbar-page:has(.ydstime-flashcards-menu) {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.ydstime-topbar-page:has(.ydstime-flashcards-menu)>.row {
    flex: 1 1 0;
    min-height: 0;
}

.ydstime-topbar-page:has(.ydstime-flashcards-menu) .ydstime-topbar-content {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
}

/* Transition wrapper around content block must also flex so content block can grow */
.ydstime-topbar-page:has(.ydstime-flashcards-menu) .ydstime-topbar-content>*:last-child {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.ydstime-topbar-page:has(.ydstime-flashcards-menu) .ydstime-topbar-content-block {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.ydstime-topbar-page:has(.ydstime-flashcards-menu) .ydstime-flashcards-menu {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.ydstime-topbar-page:has(.ydstime-flashcards-menu) .ydstime-flashcards-menu .ydstime-fc-scroll-wrap {
    flex: 1 1 0;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 72px;
}

.ydstime-flashcards-menu .ydstime-fc-intro {
    background: #fff;
    border-left: 4px solid var(--q-primary);
}

.ydstime-fc-intro-actions .q-btn {
    min-height: 36px;
}

.ydstime-fc-intro-actions .q-btn .q-icon {
    font-size: 1.1em;
    margin-right: 4px;
}

.ydstime-fc-sets {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ydstime-fc-set-item {
    position: relative;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.ydstime-fc-set-percentage {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background-color: #F3E5AB;
    border-radius: inherit;
    pointer-events: none;
    transition: width 0.3s ease;
}

.ydstime-fc-set-row {
    position: relative;
    z-index: 1;
}

.ydstime-fc-set-item:active {
    transform: scale(0.99);
}

.ydstime-fc-progress {
    height: 6px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.ydstime-fc-progress-bar {
    height: 100%;
    border-radius: 3px;
    background: var(--q-primary);
    transition: width 0.3s ease;
}

.ydstime-flashcards-viewer-dialog .ydstime-flashcards-viewer-card {
    max-width: 100%;
    border-radius: 0;
}

.ydstime-flashcards-viewer-dialog .q-card__section {
    min-height: 0;
}

.ydstime-flashcards-viewer-wrap {
    min-height: 320px;
}

.ydstime-flashcards-viewer {
    padding: 0.5rem 0;
}

.ydstime-fc-viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0;
    margin-bottom: 0.5rem;
}

.ydstime-fc-counter {
    font-variant-numeric: tabular-nums;
}

.ydstime-fc-help {
    background: rgba(0, 0, 0, 0.04);
}

.ydstime-fc-carousel {
    perspective: 1200px;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ydstime-fc-card-wrap {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    cursor: pointer;
    touch-action: pan-y;
}

.ydstime-fc-card {
    position: relative;
    width: 100%;
    min-height: 200px;
    transform-style: preserve-3d;
    transition: transform 0.25s ease-out;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ydstime-fc-card--flipped {
    transform: rotateY(180deg);
}

.ydstime-fc-card-face {
    position: absolute;
    width: 100%;
    min-height: 200px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.ydstime-fc-card-back {
    transform: rotateY(180deg);
    justify-content: flex-start;
    align-items: stretch;
    text-align: left;
}

.ydstime-fc-card-front .ydstime-fc-word {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    padding: 0.5rem;
}

.ydstime-fc-tts {
    margin-top: 0.5rem;
}

.ydstime-fc-card-back .ydstime-fc-word-small {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.85;
}

.ydstime-fc-meaning {
    flex: 1;
    line-height: 1.5;
}

.ydstime-fc-meaning .parantez {
    opacity: 0.9;
}

.ydstime-fc-extra {
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.15);
}

.ydstime-fc-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.75rem 0;
}

.ydstime-fc-nav {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.ydstime-fc-done {
    padding: 1rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.03);
}

/* CODE INCLUDES */

.bolumaciklamasi {
    background: white;
    color: black;
    font-size: 16px;
    padding: 6px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 920px;
}

.bolumaciklamasi .small {
    font-size: 14px;
}

.bolumaciklamasi .fa-regular {
    font-weight: bold;
}

.bolumaciklamasi .quote {
    font-style: italic;
    padding-left: 20px;
    font-weight: bold;
}

.onlineactivities {
    background: white !important;
    color: black !important;
    padding: 10px !important;
    border: 1px solid grey;
    font-size: 18px;
    line-height: 28px;
}

.onlineactivities .title,
.qtypes_title {
    max-width: 860px;
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 20px;
    background: #F3E5AB;
    color: black;
    padding: 6px;
    vertical-align: middle;
    align-self: center;
    background-image: none;
    background-position: 0 90%;
    background-repeat: repeat no-repeat;
    background-size: 4px 3px;
    border-radius: 15px 225px 255px 15px 15px 255px 225px 15px;
    border-style: solid;
    border-width: 2px;
    box-shadow: rgba(0, 0, 0, .2) 15px 28px 25px -18px;
    box-sizing: border-box;
    font-family: Neucha, sans-serif;
    outline: none;
    text-decoration: none;
    transition: all 235ms ease-in-out;
    border-bottom-left-radius: 15px 255px;
    border-bottom-right-radius: 225px 15px;
    border-top-left-radius: 255px 15px;
    border-top-right-radius: 15px 225px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.onlineactivities .title .fa {
    font-size: 30px;
    vertical-align: middle;
    display: inline-block;
    margin-right: 6px;
}

.onlineactivities .alan_title {
    display: inline-block;
    width: 300px;
    font-weight: bold;
}

.onlineactivities .bolum_baslik {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    margin-top: 20px;
    font-size: 20px;
    border-bottom: 1px dotted grey;
}

.voc_test_24 {
    display: block;
    width: calc(100% - 5px);
    max-width: 700px;
    padding-left: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
    vertical-align: middle;
    font-size: 20px;
    margin-bottom: 15px;
}

.altbolumbasligi {
    display: block;
    font-weight: bold;
    margin-bottom: 16px;
    margin-top: 20px;
    font-size: 24px;
    border-bottom: 2px dotted white;
}

.inlinedownloadbutton {
    display: inline-block;
    padding: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 20px;
}

.inlinedownloadbutton:before {
    content: "\f0ed";
    font-family: Font Awesome 7 Pro;
    font: var(--fa-font-regular);
    font-style: normal;
    font-weight: 400;
    text-decoration: inherit;
    font-size: 26px;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    margin-right: 10px;
    vertical-align: middle;
}

.resource_link {
    font-size: 20px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 10px;
    display: block;
    margin-bottom: 15px;
    width: 100%;
    max-width: 720px;
}

.resource_link:before {
    content: "\f14c";
    font-family: Font Awesome 7 Pro;
    font: var(--fa-font-regular);
    font-style: normal;
    font-weight: 400;
    text-decoration: inherit;
    font-size: 26px;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    margin-right: 10px;
    margin-left: 4px;
    vertical-align: middle;
}

.single_live_class {
    border: 3px solid white;
    padding: 10px;
    margin-bottom: 40px;
    max-width: 720px;
    box-shadow: rgba(0, 0, 0, .2) 15px 28px 25px -18px;
}

.liveclasscontent {
    background: white;
    font-size: 16px;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: black;
    max-width: 720px;
}

.joinliveclasslink {
    display: block;
    font-size: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    max-width: 720px;
    margin-bottom: 50px;
    margin-top: 30px;
    text-align: Center;
}


.voc_test_24 {
    display: block;
    width: calc(100% - 5px);
    max-width: 700px;
    padding-left: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
    vertical-align: middle;
    font-size: 20px;
    margin-bottom: 15px;
}

.ydstime-include-html {
    color: white;
}

/* CSS */
.ydstime-include-html .button-brd {
    align-self: center;
    background-color: #FAF9F6;
    background-image: none;
    background-position: 0 90%;
    background-repeat: repeat no-repeat;
    background-size: 4px 3px;
    border-radius: 15px 225px 255px 15px 15px 255px 225px 15px;
    border-style: solid;
    border-width: 2px;
    box-shadow: rgba(0, 0, 0, .2) 15px 28px 25px -18px;
    box-sizing: border-box;
    color: #41403e;
    cursor: pointer;
    font-family: Neucha, sans-serif;
    outline: none;
    text-decoration: none;
    transition: all 235ms ease-in-out;
    border-bottom-left-radius: 15px 255px;
    border-bottom-right-radius: 225px 15px;
    border-top-left-radius: 255px 15px;
    border-top-right-radius: 15px 225px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.ydstime-include-html .button-brd:hover {
    box-shadow: rgba(0, 0, 0, .3) 2px 8px 8px -5px;
    transform: translate3d(0, 2px, 0);
    background: #F3E5AB;
}

/* CSS */
.ydstime-include-html .roundbar {
    align-self: center;
    background-color: #fff;
    background-image: none;
    background-position: 0 90%;
    background-repeat: repeat no-repeat;
    background-size: 4px 3px;
    border-radius: 15px 225px 255px 15px 15px 255px 225px 15px;
    border-style: solid;
    border-width: 2px;
    box-shadow: rgba(0, 0, 0, .2) 15px 28px 25px -18px;
    box-sizing: border-box;
    color: #41403e;
    cursor: pointer;
    font-family: Neucha, sans-serif;
    outline: none;
    text-decoration: none;
    transition: all 235ms ease-in-out;
    border-bottom-left-radius: 15px 255px;
    border-bottom-right-radius: 225px 15px;
    border-top-left-radius: 255px 15px;
    border-top-right-radius: 15px 225px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.ydstime-include-html .roundbar:hover {
    box-shadow: rgba(0, 0, 0, .3) 2px 8px 8px -5px;
    transform: translate3d(0, 2px, 0);
    background: #F3E5AB;
}

.ydstime-include-html .roundbar:focus {
    box-shadow: rgba(0, 0, 0, .3) 2px 8px 4px -6px;
}

.ydstime-include-html .roundbar.active {
    background-color: #F3E5AB;
}

.ydstime-include-html .roundbar {
    display: block;
    width: 100%;
    max-width: 720px;
    padding-left: 14px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: bold;
}

.fancybox_eyds .roundbar-content:before {
    content: "\f109";
    font-family: Font Awesome 7 Pro;
    font: var(--fa-font-regular);
    font-style: normal;
    font-weight: 400;
    text-decoration: inherit;
    font-size: 26px;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    margin-right: 10px;
    vertical-align: middle;
}

.ydstime-include a {
    text-decoration: none !important;
}

.download32 .roundbar-content:before {
    content: "\f0ed";
    font-family: Font Awesome 7 Pro;
    font: var(--fa-font-regular);
    font-style: normal;
    font-weight: 400;
    text-decoration: inherit;
    font-size: 26px;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    margin-right: 10px;
    vertical-align: middle;

}

.download32 .itemno {
    display: none !important;
}

.altbolumbasligi {
    display: block;
    font-weight: bold;
    margin-bottom: 16px;
    margin-top: 20px;
    font-size: 24px;
    border-bottom: 2px dotted white;
}

.inlinedownloadbutton {
    display: inline-block;
    padding: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 20px;
}

.inlinedownloadbutton:before {
    content: "\f0ed";
    font-family: Font Awesome 7 Pro;
    font: var(--fa-font-regular);
    font-style: normal;
    font-weight: 400;
    text-decoration: inherit;
    font-size: 26px;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    margin-right: 10px;
    vertical-align: middle;
}



/* video bar styling */
.ydstime-include-html .latestvideodiv {
    margin-bottom: 10px;
}

.ydstime-include-html .vid_status {
    display: inline-block;
    width: 40px;
    font-size: 32px;
    vertical-align: middle;
    cursor: pointer;
    color: var(--inheritcolor);
}

.ydstime-include-html .latestvideodiv .button-brd {
    display: inline-block;
    width: calc(100% - 50px);
    max-width: 700px;
    padding-left: 14px;
    padding-top: 5px;
    padding-bottom: 5px;
    vertical-align: middle;
    font-size: 18px;
}

.ydstime-include-html .video_title {
    display: inline-block;
    padding-top: 2px;
}

.ydstime-include-html .video_duration {
    display: inline-block;
    margin-left: 15px;
    font-size: 12px;
}

.ydstime-include-html .section_stats {
    margin-bottom: 10px;
}

.video48_bar {
    display: block;
    padding-left: 14px;
    padding-top: 5px;
    padding-bottom: 5px;
    vertical-align: middle;
    font-size: 18px;
    margin-bottom: 10px;
    max-width: 720px;
}

.video48_bar:before {
    content: "\f04b";
    font-family: Font Awesome 7 Pro;
    font: var(--fa-font-regular);
    font-style: normal;
    font-weight: 400;
    text-decoration: inherit;
    font-size: 26px;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    margin-right: 10px;
    margin-left: 4px;
    vertical-align: middle;
}

.ydstime-video-list {
    padding-bottom: 40px !important;
}

/* Bolkelime Search Keyboard Navigation Active State */
.bolkelime-search-item--active {
    background-color: #f0f4ff !important;
    color: #1976d2 !important;
}

body.body--dark .bolkelime-search-item--active {
    background-color: rgba(25, 118, 210, 0.2) !important;
    color: #82b1ff !important;
}