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

html {
    font-size: 62.5%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    background: #000;
    padding: 2rem;
    color: #e0e7ff;
    position: relative;
    overflow-x: hidden;
}

/* =============================================== */
/* KOZMIK ARKA PLAN */
/* =============================================== */

/* Derin uzay gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top, #0a1929 0%, #000814 40%),
        radial-gradient(ellipse at bottom, #001d3d 0%, #000000 40%);
    z-index: -10;
}

/* Mavi nebula efekti */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(147, 197, 253, 0.08) 0%, transparent 40%);
    z-index: -9;
    animation: nebulaFloat 30s ease-in-out infinite;
}

@keyframes nebulaFloat {
    0%, 100% { 
        opacity: 0.4; 
        transform: translateX(0) scale(1); 
    }
    50% { 
        opacity: 0.6; 
        transform: translateX(-20px) scale(1.05); 
    }
}

/* Aurora efekti */
.aurora {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(59, 130, 246, 0.05) 40%, transparent 70%);
    animation: auroraRotate 40s linear infinite;
    z-index: -8;
    pointer-events: none;
}

@keyframes auroraRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* İkili güneş efekti (mavi tonlarda) */
.twin-suns {
    position: fixed;
    top: 10%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.3), transparent);
    border-radius: 50%;
    z-index: -7;
    filter: blur(3px);
    animation: sunGlow 8s ease-in-out infinite;
}

.twin-suns::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -30px;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.25), transparent);
    border-radius: 50%;
    animation: sunGlow 8s ease-in-out infinite reverse;
}

@keyframes sunGlow {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.5; 
        transform: scale(1.1); 
    }
}

/* Yıldız container */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -6;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 4s ease-in-out infinite;
}

.star.small {
    width: 1px;
    height: 1px;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.6);
}

.star.medium {
    width: 2px;
    height: 2px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}

.star.large {
    width: 3px;
    height: 3px;
    box-shadow: 0 0 6px rgba(255, 255, 255, 1);
}

.star.bright {
    background: #dbeafe;
    box-shadow: 0 0 10px rgba(219, 234, 254, 0.8);
}

@keyframes twinkle {
    0%, 100% { 
        opacity: 0.2; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.9; 
        transform: scale(1.2);
    }
}

/* Toz parçacıkları container */
.dust-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -5;
}

.dust-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(147, 197, 253, 0.4);
    border-radius: 50%;
    opacity: 0;
    animation: dustFloat 15s linear;
}

@keyframes dustFloat {
    0% {
        opacity: 0;
        transform: translateX(-10px) translateY(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateX(calc(100vw + 20px)) translateY(50px);
    }
}

/* =============================================== */
/* ERİŞİLEBİLİRLİK */
/* =============================================== */

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #2563eb;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
    border-radius: 0 0 8px 0;
    font-size: 1.4rem;
}

.skip-link:focus {
    top: 0;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus states for keyboard navigation */
.btn:focus-visible,
.form-input:focus-visible,
.form-select:focus-visible,
.sidebar__icon:focus-visible,
.header__btn:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

/* Animasyon tercihi desteği */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .star, .dust-particle, .aurora, .nebula {
        display: none;
    }
    
    body.reduced-motion::before,
    body.reduced-motion::after {
        animation: none;
    }
}

/* =============================================== */
/* BİLDİRİM SİSTEMİ */
/* =============================================== */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-size: 1.4rem;
    z-index: 1000;
    animation: slideIn 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    max-width: 350px;
}

.notification--error {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.notification--success {
    background: linear-gradient(135deg, #059669, #10b981);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.notification--info {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.notification.fade-out {
    animation: slideOut 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* =============================================== */
/* DASHBOARD ANA CONTAINER */
/* =============================================== */

.dashboard {
    max-width: 140rem;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.8),
        inset 0 0 0 1px rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(100, 116, 139, 0.2);
}

/* =============================================== */
/* HEADER */
/* =============================================== */

.header {
    display: flex;
    align-items: center;
    padding: 2rem 3rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header__logo {
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: auto;
    filter: drop-shadow(0 0 20px rgba(96, 165, 250, 0.4));
}

.header__nav {
    display: flex;
    gap: 1rem;
}

.header__btn {
    padding: 1rem 2rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #e0e7ff;
    font-size: 1.4rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.header__btn:hover {
    background: rgba(51, 65, 85, 0.6);
    border-color: rgba(96, 165, 250, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.header__btn--primary {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border: 1px solid rgba(96, 165, 250, 0.4);
    font-weight: 600;
}

.header__btn--primary:hover {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

/* =============================================== */
/* SIDEBAR */
/* =============================================== */

.sidebar {
    width: 8rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.8) 100%);
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    border-right: 1px solid rgba(100, 116, 139, 0.2);
}

.sidebar__icon {
    width: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(51, 65, 85, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.2);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.sidebar__icon:hover {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(59, 130, 246, 0.2));
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
    border-color: rgba(96, 165, 250, 0.4);
}

.sidebar__icon--active {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-color: #60a5fa;
    box-shadow: 0 0 25px rgba(96, 165, 250, 0.4);
}

.sidebar__icon svg {
    width: 2.4rem;
    height: 2.4rem;
    stroke: #e0e7ff;
    fill: none;
    stroke-width: 2;
}

/* =============================================== */
/* MAIN LAYOUT */
/* =============================================== */

.main {
    display: flex;
    min-height: calc(100vh - 100px);
}

.content {
    flex: 1;
    padding: 3rem;
    display: flex;
    gap: 3rem;
}

.content__left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.content__right {
    width: 35rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* =============================================== */
/* STATS CARDS */
/* =============================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.85), rgba(51, 65, 85, 0.65));
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start, #2563eb), var(--gradient-end, #60a5fa));
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.25);
    border-color: rgba(96, 165, 250, 0.5);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(51, 65, 85, 0.8));
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card__icon {
    width: 5rem;
    height: 5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gradient-start, #2563eb), var(--gradient-end, #60a5fa));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.4rem;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.35);
    color: #fff;
}

.stat-card__title {
    font-size: 1.4rem;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stat-card__value {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
}

.stat-card__subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

/* =============================================== */
/* FORM SECTION */
/* =============================================== */

.form-section {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6));
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    padding: 3rem;
}

.form-section__title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    color: #fff;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-size: 1.3rem;
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 0.8rem;
}

.form-input,
.form-select {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    color: #e0e7ff;
    font-size: 1.4rem;
    transition: all 0.3s;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #60a5fa;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1), 0 0 20px rgba(96, 165, 250, 0.2);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0e7ff' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 20px;
    padding-right: 4rem;
}

.form-select option {
    background: #1e293b;
    color: #e0e7ff;
}

/* =============================================== */
/* BUTTONS */
/* =============================================== */

.btn {
    width: 100%;
    padding: 1.4rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.btn--primary:hover {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.25);
}

.btn--primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn--success {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn--success:hover {
    background: linear-gradient(135deg, #10b981, #34d399);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.25);
}

.btn--success:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn--warning {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn--warning:hover {
    background: linear-gradient(135deg, #ef4444, #f87171);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(239, 68, 68, 0.25);
}

/* =============================================== */
/* ACTIVITY CARDS */
/* =============================================== */

.activity-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6));
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    padding: 2.5rem;
}

.activity-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.activity-card__title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
}

.activity-card__link {
    color: #60a5fa;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s;
}

.activity-card__link:hover {
    color: #93c5fd;
    text-shadow: 0 0 10px rgba(147, 197, 253, 0.5);
}

.activity-list {
    list-style: none;
}

.activity-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    transition: all 0.3s;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item:hover {
    padding-left: 1rem;
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.1), transparent);
}

.activity-item__title {
    font-size: 1.4rem;
    color: #e0e7ff;
    margin-bottom: 0.5rem;
}

.activity-item__meta {
    font-size: 1.2rem;
    color: #94a3b8;
}

/* =============================================== */
/* LOADING STATE */
/* =============================================== */

.loading {
    display: none;
    text-align: center;
    padding: 2rem;
}

.loading.active {
    display: block;
}

.spinner {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border: 3px solid rgba(148, 163, 184, 0.2);
    border-top-color: #60a5fa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.4);
}

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

.loading-text {
    font-size: 1.4rem;
    color: #cbd5e1;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 3px;
    margin-top: 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.6);
}

/* =============================================== */
/* RESPONSIVE */
/* =============================================== */

@media (max-width: 1200px) {
    .content {
        flex-direction: column;
    }
    .content__right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 6rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .header {
        flex-direction: column;
        gap: 1rem;
    }
    .header__logo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    .content {
        padding: 2rem;
    }
}
