:root {
    --bg-dark: #050508;
    --glass-bg: rgba(20, 20, 28, 0.5);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    --text-main: #f8fafc;
    --text-muted: #94a3b8;

    --accent-red: #ef4444;
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-purple: #8b5cf6;

    --gradient-primary: linear-gradient(135deg, #6366f1, #a855f7);
    --glow-primary: rgba(99, 102, 241, 0.4);

    --rad-lg: 24px;
    --rad-md: 16px;
    --rad-sm: 8px;

    --ease: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hidden {
    display: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

body {
    background: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

/* Animasyonlu Arkaplan */
.bg-blur-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    filter: blur(100px);
    opacity: 0.4;
    pointer-events: none;
}

.blur-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: shift 20s infinite alternate ease-in-out;
}

.blob-purple {
    background: #8b5cf6;
    width: 45vw;
    height: 45vw;
    top: -10vh;
    left: -10vw;
}

.blob-blue {
    background: #3b82f6;
    width: 40vw;
    height: 40vw;
    bottom: -5vh;
    right: -5vw;
    animation-delay: -5s;
}

.blob-red {
    background: #ef4444;
    width: 30vw;
    height: 30vw;
    top: 40vh;
    left: 30vw;
    animation-delay: -10s;
    opacity: 0.3;
}

@keyframes shift {
    to {
        transform: translate(10vw, 10vh) scale(1.2);
    }
}

/* Master Class'lar */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--rad-lg);
    box-shadow: var(--glass-shadow);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.text-danger {
    color: var(--accent-red);
}

.text-info {
    color: var(--accent-blue);
}

.hidden {
    display: none !important;
}

/* Butonlar & Inputlar */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--rad-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--ease);
}

.btn-glow {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px var(--glow-primary);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--glow-primary);
    filter: brightness(1.1);
}

.w-100 {
    width: 100%;
}

.mt-2 {
    margin-top: 16px;
}

.premium-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--rad-md);
    padding: 14px 16px;
    color: #fff;
    font-size: 1rem;
    transition: var(--ease);
}

.premium-input:focus {
    border-color: #a855f7;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.premium-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Login Ekranı */
.screen-view {
    display: flex;
    width: 100vw;
    height: 100vh;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s;
}

.screen-view:not(.active) {
    opacity: 0;
    pointer-events: none;
    z-index: -10;
}

.login-box {
    width: 90%;
    max-width: 400px;
    padding: 40px 30px;
    text-align: center;
}

.logo-area {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 24px;
}

.main-logo-img {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    position: relative;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.logo-radiance {
    position: absolute;
    inset: -10%;
    background: var(--gradient-primary);
    filter: blur(40px);
    z-index: 1;
    opacity: 0.6;
}

.login-box h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.login-box .text-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.google-btn-container {
    min-height: 48px;
    display: flex;
    justify-content: center;
}

/* Ana Uygulama */
#app-screen.active {
    position: relative;
    display: flex;
    align-items: stretch;
    padding: 32px;
    /* Increased and standardized padding */
    gap: 40px;
    box-sizing: border-box;
    max-width: 1800px;
}

.desktop-sidebar {
    width: 280px;
    display: flex;
    flex-direction: column;
    padding: 0;
    /* Remove top padding since handled by parent */
    flex-shrink: 0;
    height: calc(100vh - 64px);
}

.brand-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.brand-title img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--rad-md);
    transition: var(--ease);
    font-weight: 500;
    font-size: 1.1rem;
}

.nav-link i {
    font-size: 1.3rem;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
    border-left: 3px solid #a855f7;
}

.user-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

.profile-pic img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    opacity: 0.9;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
    text-decoration: none;
    transition: 0.2s;
}

.btn-logout:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* İçerik */
.main-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-width: 1400px;
    width: 100%;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Better alignment for headline vs buttons */
    margin-bottom: 30px;
    padding-top: 0;
    /* Align perfectly with sidebar top */
}

.page-headline {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.date-sub {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.magic-input-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.magic-input-box {
    display: flex;
    align-items: center;
    padding: 10px 14px 10px 24px;
    gap: 16px;
    border-radius: 50px;
    width: 100%;
    max-width: 750px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.magic-input-box:focus-within {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 50px rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.4);
}

.io-icon {
    font-size: 1.6rem;
}

#ai-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.15rem;
    padding: 12px 0;
    font-weight: 400;
}

#ai-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.btn-mic {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.2s;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-mic:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-refresh {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--ease);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.btn-refresh:hover {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
    transform: rotate(180deg);
}

.btn-refresh.spinning {
    pointer-events: none;
    opacity: 0.7;
}

.btn-refresh.spinning i {
    animation: spin 0.8s infinite linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    .btn-refresh {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1001;
        background: rgba(30, 30, 45, 0.8);
        backdrop-filter: blur(10px);
        width: 44px;
        height: 44px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
}

.btn-mic.listening {
    background: rgba(239, 68, 68, 0.2);
    color: var(--accent-red);
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

/* Panolar */
.views-container {
    flex-grow: 1;
    position: relative;
    min-height: 0;
    /* Fix flex overflow */
}

.view-section {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
    transition: all var(--ease);
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 100px;
    /* Custom scrollbar for inner section */
    scrollbar-width: none;
    /* Firefox */
}

.view-section::-webkit-scrollbar {
    display: none;
}

/* Chrome */

.view-section.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* ===== YENİ DASHBOARD GRID SİSTEMİ ===== */
.dash-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 0;
}

.dash-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dash-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .dash-layout {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 12px;
        align-items: start;
    }

    .dash-main {
        gap: 12px;
    }

    .dash-side {
        position: sticky;
        top: 0;
        gap: 12px;
    }

    /* KPI kartlarını küçült */
    .stat-card {
        padding: 8px 10px;
        gap: 8px;
    }

    .stat-icon {
        font-size: 1.2rem;
    }

    .stat-val {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }

    .stats-row {
        gap: 8px;
        margin-bottom: 0;
    }

    /* Kart yüksekliklerini düşür */
    .col-card,
    .full-card {
        padding: 12px;
        min-height: unset;
    }

    .card-head {
        font-size: 0.95rem;
        margin-bottom: 8px;
        padding-bottom: 6px;
    }

    /* Başlıkları küçült */
    .page-headline {
        font-size: 1.6rem;
    }

    .app-header {
        margin-bottom: 10px;
    }

    /* Magic input küçült */
    .magic-input-wrapper {
        margin-bottom: 10px;
    }

    .magic-input-box {
        max-width: 600px;
        padding: 6px 12px;
    }

    #ai-input {
        font-size: 0.95rem;
        padding: 6px 0;
    }

    .btn-mic {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    /* Grid-2 boşlukları azalt */
    .grid-2 {
        gap: 12px;
    }

    /* AI & Başarımlar kompakt */
    .ai-insights,
    .achievements-bar {
        padding: 12px;
    }

    .badge-grid {
        gap: 4px;
    }

    /* Takvimi Küçült (PC) */
    #view-calendar .full-card {
        max-width: 900px;
        margin: 0 auto;
        min-height: unset;
    }

    .cal-header {
        margin-bottom: 12px;
        gap: 12px;
    }

    .cal-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }

    .cal-weekdays {
        margin-bottom: 4px;
        font-size: 0.7rem;
    }

    .cal-grid {
        gap: 4px;
    }

    .cal-day {
        font-size: 0.9rem;
        aspect-ratio: auto;
        height: 60px;
        /* Force height instead of aspect-ratio */
        padding: 4px;
        border-radius: 8px;
    }

    .cal-day-detail {
        margin-top: 15px;
        padding-top: 15px;
    }
}

@media (min-width: 1300px) {
    .dash-layout {
        grid-template-columns: 1fr 350px;
    }
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.col-card,
.full-card {
    padding: 24px;
    min-height: 400px;
}

.card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
}

/* Filtre Araç Çubuğu */
.filter-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px 14px;
    flex: 1;
    min-width: 140px;
    transition: var(--ease);
}

.search-box:focus-within {
    border-color: #a855f7;
    background: rgba(0, 0, 0, 0.4);
}

.search-box i {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.filter-input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    width: 100%;
    outline: none;
}

.list-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.filter-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.filter-select {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--ease);
}

.filter-select:hover,
.filter-select:focus {
    border-color: #a855f7;
    color: #fff;
}

.filter-select option {
    background: #13131c;
    color: #fff;
}

.filter-toggle {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px 12px;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-toggle:hover {
    border-color: #a855f7;
    color: #fff;
}

.filter-toggle.active {
    color: var(--accent-green);
    border-color: rgba(16, 185, 129, 0.3);
}

/* Gelişmiş Boş State */
.empty-state-box {
    text-align: center;
    color: var(--text-muted);
    padding: 50px 24px;
}

.empty-state-box .empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.4;
    animation: floaty 3s ease-in-out infinite;
}

.empty-state-box p {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.empty-state-box .empty-hint {
    font-size: 0.85rem;
    opacity: 0.6;
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Onboarding Welcome */
.onboarding-banner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: var(--rad-md);
    padding: 20px 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.onboarding-banner i {
    font-size: 2rem;
    color: #a855f7;
}

.onboarding-banner .ob-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.onboarding-banner .ob-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Kartlar */
.list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.k-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: rgba(30, 30, 40, 0.4);
    border: 1px solid transparent;
    border-radius: var(--rad-md);
    transition: var(--ease);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.k-card:hover {
    background: rgba(40, 40, 55, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.k-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
}

.k-p-high::before {
    background: var(--accent-red);
}

.k-p-medium::before {
    background: var(--accent-green);
}

.k-p-low::before {
    background: var(--accent-blue);
}

.k-card.k-done {
    opacity: 0.5;
}

.k-card.k-done::before {
    background: transparent;
}

.k-card.k-done .k-title {
    text-decoration: line-through;
    color: var(--text-muted);
}

.k-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    flex-shrink: 0;
    margin-top: 2px;
    transition: 0.2s;
}

.k-card:hover .k-check {
    border-color: #a855f7;
}

.k-card.k-done .k-check {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #fff;
}

.k-main {
    flex-grow: 1;
    padding-right: 10px;
    min-width: 0;
    /* Prevents flex blowout */
}

.k-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 4px;
    color: #fff;
    word-break: break-word;
}

.k-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.k-tags {
    display: flex;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.k-tag {
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.t-red {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

.t-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
}

.t-green {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
}

.k-tools {
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: var(--ease);
    transform: translateX(10px);
}

@media (max-width: 900px) {
    .k-tools {
        opacity: 0.6;
        transform: translateX(0);
    }
}

.k-card:hover .k-tools {
    opacity: 1;
    transform: translateX(0);
}

.tool-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    padding: 4px;
    cursor: pointer;
    transition: 0.2s;
}

.tool-btn:hover {
    color: #fff;
    transform: scale(1.1);
}

.tool-btn.b-del:hover {
    color: var(--accent-red);
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 20px;
    font-size: 1.05rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.modal-overlay:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: 92%;
    max-width: 460px;
    padding: 32px;
    transform: scale(0.95) translateY(20px);
    transition: 0.3s;
}

.modal-overlay:not(.hidden) .modal-content {
    transform: scale(1) translateY(0);
}

.m-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.m-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.btn-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    cursor: pointer;
}

.type-selector {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--rad-sm);
    padding: 5px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.t-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: 0.2s;
}

.t-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.input-row {
    margin-bottom: 20px;
}

.input-row label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

select.premium-input option {
    background: #13131c;
    color: #fff;
}

/* Toast Bildirimler */
#toast-bin {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.ui-toast {
    background: rgba(30, 30, 40, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px 24px;
    border-radius: var(--rad-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    font-size: 1rem;
    transform: translateX(120%);
    animation: t-slide 0.3s forwards cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.ui-toast i {
    font-size: 1.4rem;
}

.ui-toast.success i {
    color: var(--accent-green);
}

.ui-toast.error i {
    color: var(--accent-red);
}

@keyframes t-slide {
    to {
        transform: translateX(0);
    }
}

/* Odak Modu (Tek Görev Ekranı) */
.focus-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 3, 10, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    padding: 16px;
}

.focus-overlay.hidden {
    display: none !important;
}

.focus-card {
    width: 100%;
    max-width: 520px;
    padding: 30px 26px 24px;
    position: relative;
}

.focus-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px;
}

.focus-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

#focus-title {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 8px;
}

#focus-desc {
    font-size: 0.98rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.5;
}

.focus-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.focus-meta-tag {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
}

.focus-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.focus-actions .btn {
    flex: 1;
    min-width: 120px;
}

@media (max-width: 600px) {
    .focus-card {
        padding: 26px 20px 20px;
    }

    #focus-title {
        font-size: 1.4rem;
    }
}

/* Mobil Dizayn */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 900px) {
    body {
        background: #000;
    }

    #app-screen.active {
        padding: 0;
        display: block;
        height: 100vh;
        overflow-y: scroll;
    }

    .desktop-sidebar,
    .desktop-only {
        display: none !important;
    }

    .main-body {
        padding: 15px 15px 90px 15px;
        max-width: 100%;
        height: auto;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .col-card,
    .full-card {
        min-height: 200px;
        padding: 16px;
        width: 100%;
        box-sizing: border-box;
        overflow: visible;
    }

    .view-section {
        height: auto !important;
        overflow: visible !important;
        width: 100%;
        position: relative !important;
        transform: none !important;
        padding-bottom: 20px !important;
        display: none !important;
    }

    .view-section.active {
        display: block !important;
    }

    .k-card {
        width: 100% !important;
        box-sizing: border-box;
        max-width: 100vw;
    }

    .k-tools {
        opacity: 1 !important;
        transform: none !important;
        position: relative;
        right: 0;
    }

    .page-headline {
        font-size: 2rem;
    }

    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100vw;
        height: 70px;
        z-index: 100;
        border-radius: 20px 20px 0 0;
        background: rgba(10, 10, 15, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .m-link {
        color: var(--text-muted);
        font-size: 1.3rem;
        text-decoration: none;
        padding: 8px 12px;
        transition: 0.2s;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        border: none;
        background: none;
        cursor: pointer;
    }

    .m-link span {
        font-size: 0.6rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .m-link.active {
        color: #a855f7;
        text-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
    }

    .m-fab {
        width: 54px;
        height: 54px;
        border-radius: 50%;
        color: #fff;
        border: none;
        font-size: 1.6rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(-18px);
        outline: 4px solid var(--bg-dark);
        background: var(--gradient-primary);
        box-shadow: 0 4px 20px var(--glow-primary);
        cursor: pointer;
    }

    .login-box {
        padding: 30px 20px;
    }

    .logo-area {
        width: 90px;
        height: 90px;
    }

    .app-header {
        margin-bottom: 16px;
    }

    .magic-input-box {
        margin-bottom: 8px;
        padding: 4px 4px 4px 14px;
        gap: 8px;
    }

    #ai-input {
        font-size: 0.95rem;
        padding: 10px 0;
    }

    .filter-toolbar {
        flex-direction: column;
        gap: 8px;
    }

    .modal-body {
        width: 95%;
        max-height: 85vh;
    }
}

/* Alarm Overlay - Agresif Strobe Flaş Efekti */
.alarm-overlay {
    position: fixed;
    inset: 0;
    /* Başlangıç için siyah (ilk an) ama animasyon ezecek */
    background: rgba(5, 0, 0, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;

    /* Agresif yanıp sönme animasyonu: saniyede 4 kez kırmızı-siyah flaşı vuracak */
    animation: aggressive-strobe 0.25s infinite alternate;
}

@keyframes aggressive-strobe {
    0% {
        background: rgba(5, 0, 0, 0.95);
    }

    100% {
        background: rgba(185, 28, 28, 0.85);
        /* Accent Red Koyu Transparan */
    }
}

.alarm-overlay.hidden {
    display: none !important;
    animation: none;
    /* Gizliyken animasyon durmalı */
}

.alarm-card {
    width: 100%;
    max-width: 440px;
    padding: 40px 30px 30px;
    text-align: center;
}

.alarm-icon-pulse {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: alarm-pulse 1s ease-in-out infinite alternate;
}

.alarm-icon-pulse i {
    font-size: 2.5rem;
    color: var(--accent-red);
}

@keyframes alarm-pulse {
    from {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.3);
    }

    to {
        transform: scale(1.1);
        box-shadow: 0 0 30px 10px rgba(239, 68, 68, 0.2);
    }
}

.alarm-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-red);
    margin-bottom: 12px;
    font-weight: 700;
}

.alarm-card h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.alarm-time-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.alarm-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.alarm-actions .btn {
    flex: 1;
    min-width: 130px;
}

@media (max-width: 480px) {
    .alarm-card {
        padding: 30px 20px 24px;
    }

    .alarm-card h2 {
        font-size: 1.3rem;
    }
}

/* Odak Modu Gelişmiş Aksiyonlar */
.focus-resched-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    align-items: center;
    justify-content: center;
}

.focus-custom-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-input-sm {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    padding: 4px;
}

.icon-only-btn {
    padding: 6px !important;
    min-width: 36px !important;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-glow) !important;
}

.icon-only-btn i {
    font-size: 1.2rem;
}

/* ===== KPI İstatistik Kartları ===== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
    border-radius: var(--rad-md) !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    font-size: 1.8rem;
    opacity: 0.9;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

@media (max-width: 900px) {
    .stats-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        margin-bottom: 12px;
    }

    .stat-card {
        padding: 8px 4px;
        gap: 6px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .stat-icon {
        font-size: 1.1rem;
    }

    .stat-val {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.55rem;
        white-space: nowrap;
    }
}

/* ===== Sidebar Aksiyonlar ===== */
.sidebar-actions {
    margin-top: auto;
    padding-top: 12px;
    margin-bottom: 16px;
}

.btn-sidebar {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--rad-md);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--ease);
}

.btn-sidebar:hover {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border-color: rgba(168, 85, 247, 0.3);
}

.btn-sidebar i {
    font-size: 1.2rem;
}

/* ===== Dışa Aktarma Modalı ===== */
.export-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.export-overlay.hidden {
    display: none !important;
}

.export-card {
    width: 90%;
    max-width: 380px;
    padding: 30px;
    text-align: center;
}

.export-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.export-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.export-btns .btn {
    min-width: 120px;
}

.t-recur {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
}

/* ===== AÇIK TEMA (LIGHT MODE) ===== */
[data-theme="light"] {
    --bg-dark: #f0f2f5;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --text-main: #1a1a2e;
    --text-muted: #6b7280;
}

[data-theme="light"] body {
    background: var(--bg-dark);
    color: var(--text-main);
}

[data-theme="light"] .blur-blob {
    opacity: 0.15;
}

[data-theme="light"] .k-card {
    background: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .k-card:hover {
    background: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .k-title {
    color: var(--text-main);
}

[data-theme="light"] .premium-input {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--text-main);
}

[data-theme="light"] .premium-input:focus {
    background: #fff;
    border-color: #a855f7;
}

[data-theme="light"] .premium-input::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .filter-select {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--text-muted);
}

[data-theme="light"] .filter-select option {
    background: #fff;
    color: #1a1a2e;
}

[data-theme="light"] .search-box {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .filter-input {
    color: var(--text-main);
}

[data-theme="light"] .filter-input::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] #ai-input {
    color: var(--text-main);
}

[data-theme="light"] #ai-input::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .modal-content {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .type-selector {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .t-btn.active {
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-main);
}

[data-theme="light"] .nav-link {
    color: var(--text-muted);
}

[data-theme="light"] .nav-link:hover {
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .nav-link.active {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.08);
    border-left-color: #7c3aed;
}

[data-theme="light"] .btn-sidebar {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--text-muted);
}

[data-theme="light"] .btn-sidebar:hover {
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
}

[data-theme="light"] .user-footer {
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .ui-toast {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-main);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .mobile-bottom-nav,
[data-theme="light"] #mobile-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    border-top-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .m-link {
    color: var(--text-muted);
}

[data-theme="light"] .m-link.active {
    color: #7c3aed;
    text-shadow: none;
}

[data-theme="light"] .m-fab {
    outline-color: var(--bg-dark);
}

[data-theme="light"] .stat-card {
    background: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .focus-overlay {
    background: rgba(240, 242, 245, 0.96);
}

[data-theme="light"] .alarm-overlay {
    background: rgba(245, 230, 230, 0.95);
}

[data-theme="light"] .export-overlay {
    background: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .export-card {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
}

/* ===== TAKVİM ===== */
.cal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.cal-nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.3rem;
    transition: var(--ease);
}

.cal-nav-btn:hover {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    font-weight: 600;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--ease);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    gap: 2px;
}

.cal-day:hover {
    background: rgba(255, 255, 255, 0.06);
}

.cal-day.cal-today {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
    font-weight: 700;
}

.cal-day.cal-other {
    opacity: 0.3;
}

.cal-day.cal-selected {
    background: rgba(168, 85, 247, 0.3);
    box-shadow: 0 0 0 2px #a855f7;
}

.cal-dots {
    display: flex;
    gap: 3px;
    height: 5px;
}

.cal-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.cal-dot-todo {
    background: var(--accent-blue);
}

.cal-dot-rem {
    background: var(--accent-red);
}

.cal-day-detail {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.cal-day-detail h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

[data-theme="light"] .cal-day:hover {
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .cal-nav-btn {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
    .cal-day {
        font-size: 0.8rem;
        border-radius: 8px;
    }
}

/* ===== POMODORO TIMER ===== */
.pomodoro-panel {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-top: 1px solid var(--glass-border);
}

.pomo-ring {
    position: relative;
    width: 160px;
    height: 160px;
}

.pomo-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.pomo-bg-ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 6;
}

.pomo-progress-ring {
    fill: none;
    stroke: url(#pomo-grad);
    stroke: #a855f7;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
}

.pomo-time {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.pomo-controls {
    display: flex;
    gap: 10px;
}

.pomo-status {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pomo-status.break {
    color: var(--accent-green);
}

[data-theme="light"] .pomo-bg-ring {
    stroke: rgba(0, 0, 0, 0.06);
}

/* ===== AI AKILLI ÖNERİLER ===== */
.ai-insights {
    margin-top: 16px;
    padding: 20px;
}

.ai-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--rad-md);
    background: rgba(168, 85, 247, 0.06);
    border: 1px solid rgba(168, 85, 247, 0.1);
    font-size: 0.92rem;
    line-height: 1.5;
    transition: var(--ease);
}

.ai-tip:hover {
    background: rgba(168, 85, 247, 0.12);
    transform: translateX(4px);
}

.ai-tip-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

[data-theme="light"] .ai-tip {
    background: rgba(124, 58, 237, 0.05);
    border-color: rgba(124, 58, 237, 0.1);
}

/* ===== BAŞARIMLAR / BADGE ===== */
.achievements-bar {
    margin-top: 16px;
    padding: 20px;
}

.badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 12px;
    border-radius: var(--rad-md);
    min-width: 90px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    transition: var(--ease);
}

.badge-item.unlocked {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.25);
}

.badge-item.locked {
    opacity: 0.35;
    filter: grayscale(1);
}

.badge-icon {
    font-size: 2rem;
}

.badge-name {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.badge-item.unlocked .badge-name {
    color: #c084fc;
}

[data-theme="light"] .badge-item {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .badge-item.unlocked {
    background: rgba(124, 58, 237, 0.06);
    border-color: rgba(124, 58, 237, 0.15);
}

/* ===== BİLDİRİM ONBOARDING ===== */
.notif-onboarding {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
}

.notif-ob-card {
    max-width: 440px;
    width: 100%;
    padding: 36px 28px;
    text-align: center;
}

.notif-ob-icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
}

.notif-ob-card h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.notif-ob-card>p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 24px;
}

.notif-ob-steps {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.notif-step {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    transition: var(--ease);
}

.notif-step.active {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.notif-step.done {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
}

.notif-step.active .step-num {
    background: #a855f7;
    color: #fff;
}

.notif-step.done .step-num {
    background: #22c55e;
    color: #fff;
}

.step-panel {
    padding: 16px 0;
}

.step-hint {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 12px;
}

.step-info {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.pwa-guide {
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--rad-md);
    padding: 16px;
    margin-bottom: 16px;
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.8;
}

.pwa-guide code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 1.1rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-skip {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.82rem;
    cursor: pointer;
    margin-top: 16px;
    text-decoration: underline;
    opacity: 0.6;
}

.btn-skip:hover {
    opacity: 1;
}

[data-theme="light"] .notif-onboarding {
    background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .pwa-guide {
    background: rgba(0, 0, 0, 0.04);
}

@media (max-width: 900px) {
    .badge-item {
        min-width: 75px;
        padding: 10px 8px;
    }

    .badge-icon {
        font-size: 1.5rem;
    }
}

/* Görev Paylaşımı ve Grup Yönetimi Stilleri */
.incoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.incoming-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: 0.3s;
}

.incoming-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.inc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.inc-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.inc-title {
    font-weight: 600;
    font-size: 1rem;
}

.inc-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.group-list,
.trust-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.group-item,
.trust-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recent-assign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.recent-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    text-align: center;
}

.recent-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: 0.2s;
}

.recent-user:hover img {
    border-color: var(--accent-purple);
    transform: scale(1.1);
}

.recent-user span {
    font-size: 0.7rem;
    color: var(--text-muted);
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.assign-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
    padding: 2px 8px;
    border-radius: 20px;
    margin-top: 4px;
}

/* Phase 15: Anti-Spam & Pro Modal */
#pro-modal .modal-content {
    background: linear-gradient(135deg, rgba(20, 20, 31, 1), rgba(40, 40, 60, 1));
}

.pro-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    margin: 15px 0;
}

.pro-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #fff;
}

.pro-feature i {
    color: #4ade80;
}

.switch-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.2s;
}

.switch-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.switch-text {
    flex: 1;
    text-align: left;
}

.switch-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.border-t {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mt-6 {
    margin-top: 1.5rem;
}

.pt-4 {
    padding-top: 1rem;
}

.btn-reject-block {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
}

.btn-reject-block:hover {
    background: #ef4444 !important;
    color: #fff !important;
}