:root {
    --background: #0a0a0f;
    --surface: rgba(20, 20, 35, 0.4);
    --surface-solid: rgba(25, 25, 40, 0.6);
    --overlay: rgba(40, 40, 55, 0.7);
    --text: #e0e7ff;
    --subtext: #9ca3af;
    --primary: #60a5fa;
    --success: #4ade80;
    --error: #f87171;
    --warning: #facc15;
    --border: rgba(96, 165, 250, 0.15);
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(96, 165, 250, 0.2);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
body.theme-light {
    --background: #000;
    --surface: rgba(10, 10, 20, 0.1);
    --surface-solid: rgba(15, 15, 30, 0.2);
    --overlay: rgba(30, 30, 50, 0.3);
    --text: #f0f8ff;
    --subtext: #a0b0c0;
    --primary: #00ffff;
    --success: #00ff88;
    --error: #ff0080;
    --warning: #ffaa00;
    --border: rgba(0, 255, 255, 0.2);
    --shadow: rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 255, 255, 0.3);
    --font-family: 'JetBrains Mono', 'Inter', monospace;
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
body.theme-cream {
    --background: #fdf6e3;
    --surface: rgba(250, 245, 230, 0.8);
    --surface-solid: rgba(240, 235, 220, 0.9);
    --overlay: rgba(230, 225, 210, 0.85);
    --text: #5a4f47;
    --subtext: #8b7d6b;
    --primary: #d4af37;
    --success: #8bc34a;
    --error: #e57373;
    --warning: #ffb74d;
    --border: rgba(212, 175, 55, 0.2);
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.15);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
body.theme-winter {
    --background: #e6f3ff;
    --surface: rgba(255, 255, 255, 0.8);
    --surface-solid: rgba(248, 250, 252, 0.9);
    --overlay: rgba(240, 248, 255, 0.85);
    --text: #2c3e50;
    --subtext: #5d6d7e;
    --primary: #3498db;
    --success: #27ae60;
    --error: #e74c3c;
    --warning: #f39c12;
    --border: rgba(52, 152, 219, 0.2);
    --shadow: rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(52, 152, 219, 0.15);
    --font-family: 'Georgia', serif;
    --radius: 8px;
    --transition: all 0.4s ease-in-out;
}
body.theme-cream::before {
    background:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 195, 74, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(229, 115, 115, 0.2) 0%, transparent 50%);
    filter: blur(100px);
    animation: aurora-shift 30s ease-in-out infinite alternate;
}
body.theme-winter::before {
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(173, 216, 230, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(240, 248, 255, 0.4) 0%, transparent 50%);
    filter: blur(120px) sepia(0.1);
    animation: aurora-shift 35s ease-in-out infinite alternate;
}
*, *::before, *::after {
    box-sizing: border-box;
}
body {
    font-family: var(--font-family);
    background-color: var(--background);
    color: var(--text);
    margin: 0;
    overflow-x: hidden;
    position: relative;
    transition: var(--transition);
}
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background:
        radial-gradient(circle at 20% 30%, rgba(147, 51, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(248, 113, 113, 0.3) 0%, transparent 50%);
    filter: blur(120px);
    animation: aurora-shift 25s ease-in-out infinite alternate;
    transition: var(--transition);
}
body.theme-light::before {
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 255, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(0, 255, 128, 0.4) 0%, transparent 50%);
    filter: blur(150px);
    animation: aurora-shift 20s ease-in-out infinite alternate;
}
body.theme-winter::before {
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(173, 216, 230, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(240, 248, 255, 0.5) 0%, transparent 50%);
    filter: blur(100px) sepia(0.1);
    animation: aurora-shift 40s ease-in-out infinite alternate;
}
@keyframes aurora-shift {
    0% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    100% { transform: scale(1.2) rotate(15deg); opacity: 1; }
}
body.theme-light @keyframes aurora-shift {
    0% { transform: scale(1) rotate(0deg); opacity: 0.7; }
    100% { transform: scale(1.3) rotate(20deg); opacity: 1; }
}
body.theme-cream @keyframes aurora-shift {
    0% { transform: scale(1) rotate(0deg); opacity: 0.6; }
    100% { transform: scale(1.1) rotate(10deg); opacity: 0.8; }
}
body.theme-winter @keyframes aurora-shift {
    0% { transform: scale(1) rotate(0deg); opacity: 0.7; }
    100% { transform: scale(1.15) rotate(8deg); opacity: 0.9; }
}
.page-layout { width: 100%; min-height: 100vh; }
.navbar {
    width: 95%;
    max-width: 1400px;
    margin: 1rem auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface-solid);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 2rem;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}
body.theme-light .navbar {
    backdrop-filter: blur(30px);
}
body.theme-cream .navbar {
    background: var(--surface-solid);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
body.theme-winter .navbar {
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.navbar-brand {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--primary);
}
body.theme-light .navbar-brand {
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}
body.theme-cream .navbar-brand {
    text-shadow: none;
}
body.theme-winter .navbar-brand {
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.navbar-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}
#username { font-weight: 500; }
.content-wrapper {
    width: 95%;
    max-width: 1400px;
    margin: 2rem auto;
}
.panel-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.panel-header h2 { margin: 0; }
.panel-header p {
    margin: 0.5rem 0 0;
    color: var(--subtext);
}
.container {
    width: 95%;
    max-width: 1400px;
    margin: 2rem auto;
    padding: 1rem;
    min-height: calc(100vh - 4rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.container > * { width: 100%; }
.container > header,
.container > main {
    max-width: 650px;
    text-align: center;
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}
body.theme-light .container > header,
body.theme-light .container > main {
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}
body.theme-cream .container > header,
body.theme-cream .container > main {
    background: var(--surface);
    backdrop-filter: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
body.theme-winter .container > header,
body.theme-winter .container > main {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.container > header {
    padding-bottom: 1.5rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
}
.container > main {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
header h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0 0.5rem;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
}
body.theme-light header h1 {
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}
body.theme-cream header h1 {
    text-shadow: none;
}
body.theme-winter header h1 {
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
header p {
    font-size: 1.1rem;
    color: var(--subtext);
    margin-bottom: 2rem;
}
.top-buttons {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
}
.top-buttons .login-button {
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    background: var(--surface-solid);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 10px;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}
body.theme-light .top-buttons .login-button {
    backdrop-filter: blur(20px);
}
body.theme-cream .top-buttons .login-button {
    background: var(--surface-solid);
    backdrop-filter: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
body.theme-winter .top-buttons .login-button {
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.top-buttons .login-button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--background);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px rgba(96, 165, 250, 0.5);
}
body.theme-light .top-buttons .login-button:hover {
    background: linear-gradient(135deg, var(--primary), #00cccc);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.6);
}
body.theme-cream .top-buttons .login-button:hover {
    background: var(--primary);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}
body.theme-winter .top-buttons .login-button:hover {
    background: linear-gradient(135deg, var(--primary), #2980b9);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}
.verifier {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
#result {
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    min-height: 26px;
    transition: var(--transition);
    background: var(--surface-solid);
    border: 1px solid var(--border);
}
body.theme-light #result {
    backdrop-filter: blur(20px);
}
body.theme-cream #result {
    background: var(--surface-solid);
    backdrop-filter: none;
}
body.theme-winter #result {
    backdrop-filter: blur(5px);
}
#result.success {
    background: rgba(74, 222, 128, 0.1);
    color: var(--success);
    border-color: var(--success);
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.2);
}
body.theme-light #result.success {
    background: rgba(0, 255, 136, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}
body.theme-cream #result.success {
    background: rgba(139, 195, 74, 0.15);
    box-shadow: 0 2px 10px rgba(139, 195, 74, 0.1);
}
body.theme-winter #result.success {
    background: rgba(39, 174, 96, 0.15);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.1);
}
#result.error {
    background: rgba(248, 113, 113, 0.1);
    color: var(--error);
    border-color: var(--error);
    box-shadow: 0 0 10px rgba(248, 113, 113, 0.2);
}
body.theme-light #result.error {
    background: rgba(255, 0, 128, 0.2);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.3);
}
body.theme-cream #result.error {
    background: rgba(229, 115, 115, 0.15);
    box-shadow: 0 2px 10px rgba(229, 115, 115, 0.1);
}
body.theme-winter #result.error {
    background: rgba(231, 76, 60, 0.15);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.1);
}
/* --- GENEL FORM ELEMANLARI --- */
input[type="text"],
input[type="number"],
select,
textarea,
input[type="file"] {
    flex-grow: 1;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: var(--font-family);
    background: var(--surface-solid);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    outline: none;
    transition: var(--transition);
    width: 100%;
}
body.theme-light input[type="text"],
body.theme-light input[type="number"],
body.theme-light select,
body.theme-light textarea,
body.theme-light input[type="file"] {
    backdrop-filter: blur(20px);
    border-radius: 10px;
}
body.theme-cream input[type="text"],
body.theme-cream input[type="number"],
body.theme-cream select,
body.theme-cream textarea,
body.theme-cream input[type="file"] {
    background: var(--surface-solid);
    backdrop-filter: none;
    border-color: var(--border);
}
body.theme-winter input[type="text"],
body.theme-winter input[type="number"],
body.theme-winter select,
body.theme-winter textarea,
body.theme-winter input[type="file"] {
    backdrop-filter: blur(5px);
    border-radius: 6px;
}
input[type="text"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus,
input[type="file"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15), var(--shadow-glow);
}
body.theme-light input[type="text"]:focus,
body.theme-light input[type="number"]:focus,
body.theme-light select:focus,
body.theme-light textarea:focus,
body.theme-light input[type="file"]:focus {
    box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.2), var(--shadow-glow);
}
body.theme-cream input[type="text"]:focus,
body.theme-cream input[type="number"]:focus,
body.theme-cream select:focus,
body.theme-cream textarea:focus,
body.theme-cream input[type="file"]:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15), 0 2px 10px rgba(0,0,0,0.05);
}
body.theme-winter input[type="text"]:focus,
body.theme-winter input[type="number"]:focus,
body.theme-winter select:focus,
body.theme-winter textarea:focus,
body.theme-winter input[type="file"]:focus {
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15), 0 2px 8px rgba(0,0,0,0.04);
}
button,
.login-button,
.action-button,
.logout-button {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-family);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow);
}
body.theme-light button,
body.theme-light .login-button,
body.theme-light .action-button,
body.theme-light .logout-button {
    border-radius: 10px;
}
body.theme-cream button,
body.theme-cream .login-button,
body.theme-cream .action-button,
body.theme-cream .logout-button {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
body.theme-winter button,
body.theme-winter .login-button,
body.theme-winter .action-button,
body.theme-winter .logout-button {
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-radius: 6px;
}
button::before,
.login-button::before,
.action-button::before,
.logout-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}
body.theme-light button::before,
body.theme-light .login-button::before,
body.theme-light .action-button::before,
body.theme-light .logout-button::before {
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.5s ease, height 0.5s ease;
}
body.theme-cream button::before,
body.theme-cream .login-button::before,
body.theme-cream .action-button::before,
body.theme-cream .logout-button::before {
    background: rgba(255, 255, 255, 0.05);
}
body.theme-winter button::before,
body.theme-winter .login-button::before,
body.theme-winter .action-button::before,
body.theme-winter .logout-button::before {
    background: rgba(255, 255, 255, 0.08);
}
button:hover::before,
.login-button:hover::before,
.action-button:hover::before,
.logout-button:hover::before {
    width: 300%;
    height: 300%;
}
body.theme-light button:hover::before,
body.theme-light .login-button:hover::before,
body.theme-light .action-button:hover::before,
body.theme-light .logout-button:hover::before {
    width: 400%;
    height: 400%;
}
body.theme-cream button:hover::before,
body.theme-cream .login-button:hover::before,
body.theme-cream .action-button:hover::before,
body.theme-cream .logout-button:hover::before {
    width: 200%;
    height: 200%;
}
body.theme-winter button:hover::before,
body.theme-winter .login-button:hover::before,
body.theme-winter .action-button:hover::before,
body.theme-winter .logout-button:hover::before {
    width: 250%;
    height: 250%;
}
button:hover,
.login-button:hover,
.action-button:hover,
.logout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
body.theme-light button:hover,
body.theme-light .login-button:hover,
body.theme-light .action-button:hover,
body.theme-light .logout-button:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
body.theme-cream button:hover,
body.theme-cream .login-button:hover,
body.theme-cream .action-button:hover,
body.theme-cream .logout-button:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
body.theme-winter button:hover,
body.theme-winter .login-button:hover,
body.theme-winter .action-button:hover,
body.theme-winter .logout-button:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
button:active,
.login-button:active,
.action-button:active,
.logout-button:active {
    transform: translateY(0);
}
#verifyButton,
.action-button.primary {
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: var(--background);
}
body.theme-light #verifyButton,
body.theme-light .action-button.primary {
    background: linear-gradient(135deg, var(--primary), #00cccc);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}
body.theme-cream #verifyButton,
body.theme-cream .action-button.primary {
    background: linear-gradient(135deg, var(--primary), #b8942f);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}
body.theme-winter #verifyButton,
body.theme-winter .action-button.primary {
    background: linear-gradient(135deg, var(--primary), #2980b9);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.15);
}
.action-button.success {
    background: linear-gradient(135deg, var(--success), #22c55e);
    color: var(--background);
}
body.theme-light .action-button.success {
    background: linear-gradient(135deg, var(--success), #00cc66);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}
body.theme-cream .action-button.success {
    background: linear-gradient(135deg, var(--success), #7bb33c);
    box-shadow: 0 2px 10px rgba(139, 195, 74, 0.2);
}
body.theme-winter .action-button.success {
    background: linear-gradient(135deg, var(--success), #229954);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.15);
}
.action-button.danger,
.logout-button {
    background: linear-gradient(135deg, var(--error), #ef4444);
    color: var(--background);
}
body.theme-light .action-button.danger,
body.theme-light .logout-button {
    background: linear-gradient(135deg, var(--error), #cc0066);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.4);
}
body.theme-cream .action-button.danger,
body.theme-cream .logout-button {
    background: linear-gradient(135deg, var(--error), #c95a5a);
    box-shadow: 0 2px 10px rgba(229, 115, 115, 0.2);
}
body.theme-winter .action-button.danger,
body.theme-winter .logout-button {
    background: linear-gradient(135deg, var(--error), #c0392b);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.15);
}
.dashboard-layout {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: var(--background);
}
.sidebar {
    width: 260px;
    background: var(--surface-solid);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    flex-shrink: 0;
}
body.theme-light .sidebar {
    backdrop-filter: blur(30px);
}
body.theme-cream .sidebar {
    background: var(--surface-solid);
    backdrop-filter: none;
    border-right-color: var(--border);
}
body.theme-winter .sidebar {
    backdrop-filter: blur(10px);
    border-right-color: var(--border);
}
.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.sidebar-header .navbar-brand { font-size: 1.8rem; }
.sidebar-nav {
    flex-grow: 1;
    padding: 1rem 0;
}
.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--subtext);
    text-decoration: none;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: var(--transition);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.sidebar-nav .nav-link:hover {
    background: rgba(96, 165, 250, 0.1);
    color: var(--primary);
}
body.theme-light .sidebar-nav .nav-link:hover {
    background: rgba(0, 255, 255, 0.15);
    box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.2);
}
body.theme-cream .sidebar-nav .nav-link:hover {
    background: rgba(212, 175, 55, 0.1);
}
body.theme-winter .sidebar-nav .nav-link:hover {
    background: rgba(52, 152, 219, 0.08);
}
.sidebar-nav .nav-link.active {
    color: var(--primary);
    font-weight: 600;
    border-left-color: var(--primary);
    background: rgba(96, 165, 250, 0.15);
}
body.theme-light .sidebar-nav .nav-link.active {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: inset 0 0 15px rgba(0, 255, 255, 0.3);
}
body.theme-cream .sidebar-nav .nav-link.active {
    background: rgba(212, 175, 55, 0.15);
}
body.theme-winter .sidebar-nav .nav-link.active {
    background: rgba(52, 152, 219, 0.12);
}
.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
}
.sidebar-footer .navbar-user {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
.sidebar-footer .logout-button {
    width: 100%;
    text-align: center;
}
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
}
.main-header {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--surface-solid);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
body.theme-light .main-header {
    backdrop-filter: blur(30px);
}
body.theme-cream .main-header {
    background: var(--surface-solid);
    backdrop-filter: none;
}
body.theme-winter .main-header {
    backdrop-filter: blur(10px);
}
.main-header #view-title {
    margin: 0;
    font-size: 1.5rem;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
    margin-right: 1.5rem;
    transition: var(--transition);
}
.content-area {
    padding: 2rem;
    overflow-y: auto;
    flex-grow: 1;
}
.view { display: none; }
.view.active { display: block; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.stat-card {
    background: var(--surface);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}
body.theme-light .stat-card {
    backdrop-filter: blur(30px);
}
body.theme-cream .stat-card {
    background: var(--surface);
    backdrop-filter: none;
    border-color: var(--border);
}
body.theme-winter .stat-card {
    backdrop-filter: blur(5px);
    border-color: var(--border);
}
.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}
.stat-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: var(--subtext);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}
body.theme-light .stat-card .stat-value {
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}
body.theme-cream .stat-card .stat-value {
    text-shadow: none;
}
body.theme-winter .stat-card .stat-value {
    text-shadow: none;
}
.license-manager {
    background: var(--surface);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
body.theme-light .license-manager {
    backdrop-filter: blur(30px);
}
body.theme-cream .license-manager {
    background: var(--surface);
    backdrop-filter: none;
}
body.theme-winter .license-manager {
    backdrop-filter: blur(5px);
}
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.toolbar h2 { margin: 0; }
.table-container { overflow-x: auto; }
#licenseTable,
#logTable,
#pluginTable,
#userTable,
#announcementTable,
#userLicenseTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    background: transparent;
}
#licenseTable th,
#licenseTable td,
#logTable th,
#logTable td,
#pluginTable th,
#pluginTable td,
#userTable th,
#userTable td,
#announcementTable th,
#announcementTable td,
#userLicenseTable th,
#userLicenseTable td {
    padding: 14px 18px;
    text-align: left;
    white-space: nowrap;
    vertical-align: middle;
    background: var(--surface-solid);
}
body.theme-light #licenseTable th,
body.theme-light #licenseTable td,
body.theme-light #logTable th,
body.theme-light #logTable td,
body.theme-light #pluginTable th,
body.theme-light #pluginTable td,
body.theme-light #userTable th,
body.theme-light #userTable td,
body.theme-light #announcementTable th,
body.theme-light #announcementTable td,
body.theme-light #userLicenseTable th,
body.theme-light #userLicenseTable td {
    backdrop-filter: blur(20px);
}
body.theme-cream #licenseTable th,
body.theme-cream #licenseTable td,
body.theme-cream #logTable th,
body.theme-cream #logTable td,
body.theme-cream #pluginTable th,
body.theme-cream #pluginTable td,
body.theme-cream #userTable th,
body.theme-cream #userTable td,
body.theme-cream #announcementTable th,
body.theme-cream #announcementTable td,
body.theme-cream #userLicenseTable th,
body.theme-cream #userLicenseTable td {
    background: var(--surface-solid);
}
body.theme-winter #licenseTable th,
body.theme-winter #licenseTable td,
body.theme-winter #logTable th,
body.theme-winter #logTable td,
body.theme-winter #pluginTable th,
body.theme-winter #pluginTable td,
body.theme-winter #userTable th,
body.theme-winter #userTable td,
body.theme-winter #announcementTable th,
body.theme-winter #announcementTable td,
body.theme-winter #userLicenseTable th,
body.theme-winter #userLicenseTable td {
    backdrop-filter: blur(5px);
}
#licenseTable th,
#logTable th,
#pluginTable th,
#userTable th,
#announcementTable th,
#userLicenseTable th {
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    background: rgba(96, 165, 250, 0.1);
}
body.theme-light #licenseTable th,
body.theme-light #logTable th,
body.theme-light #pluginTable th,
body.theme-light #userTable th,
body.theme-light #announcementTable th,
body.theme-light #userLicenseTable th {
    background: rgba(0, 255, 255, 0.15);
}
body.theme-cream #licenseTable th,
body.theme-cream #logTable th,
body.theme-cream #pluginTable th,
body.theme-cream #userTable th,
body.theme-cream #announcementTable th,
body.theme-cream #userLicenseTable th {
    background: rgba(212, 175, 55, 0.1);
}
body.theme-winter #licenseTable th,
body.theme-winter #logTable th,
body.theme-winter #pluginTable th,
body.theme-winter #userTable th,
body.theme-winter #announcementTable th,
body.theme-winter #userLicenseTable th {
    background: rgba(52, 152, 219, 0.08);
}
#licenseTable tbody tr,
#logTable tbody tr,
#pluginTable tbody tr,
#userTable tbody tr,
#announcementTable tbody tr,
#userLicenseTable tbody tr {
    background: var(--surface-solid);
    transition: var(--transition);
    border-radius: var(--radius);
}
#licenseTable tbody tr:hover,
#logTable tbody tr:hover,
#pluginTable tbody tr:hover,
#userTable tbody tr:hover,
#announcementTable tbody tr:hover,
#userLicenseTable tbody tr:hover {
    background: rgba(96, 165, 250, 0.1);
    transform: scale(1.01);
    box-shadow: var(--shadow-glow);
}
body.theme-light #licenseTable tbody tr:hover,
body.theme-light #logTable tbody tr:hover,
body.theme-light #pluginTable tbody tr:hover,
body.theme-light #userTable tbody tr:hover,
body.theme-light #announcementTable tbody tr:hover,
body.theme-light #userLicenseTable tbody tr:hover {
    background: rgba(0, 255, 255, 0.15);
}
body.theme-cream #licenseTable tbody tr:hover,
body.theme-cream #logTable tbody tr:hover,
body.theme-cream #pluginTable tbody tr:hover,
body.theme-cream #userTable tbody tr:hover,
body.theme-cream #announcementTable tbody tr:hover,
body.theme-cream #userLicenseTable tbody tr:hover {
    background: rgba(212, 175, 55, 0.1);
}
body.theme-winter #licenseTable tbody tr:hover,
body.theme-winter #logTable tbody tr:hover,
body.theme-winter #pluginTable tbody tr:hover,
body.theme-winter #userTable tbody tr:hover,
body.theme-winter #announcementTable tbody tr:hover,
body.theme-winter #userLicenseTable tbody tr:hover {
    background: rgba(52, 152, 219, 0.08);
}
#licenseTable td:first-child,
#logTable td:first-child,
#pluginTable td:first-child,
#userTable td:first-child,
#announcementTable td:first-child,
#userLicenseTable td:first-child {
    border-top-left-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
}
#licenseTable td:last-child,
#logTable td:last-child,
#pluginTable td:last-child,
#userTable td:last-child,
#announcementTable td:last-child,
#userLicenseTable td:last-child {
    border-top-right-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
}
.status,
.level {
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: capitalize;
}
.status.aktif,
.level.success {
    background: rgba(74, 222, 128, 0.2);
    color: var(--success);
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.3);
}
body.theme-light .status.aktif,
body.theme-light .level.success {
    background: rgba(0, 255, 136, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}
body.theme-cream .status.aktif,
body.theme-cream .level.success {
    background: rgba(139, 195, 74, 0.2);
    box-shadow: 0 1px 5px rgba(139, 195, 74, 0.2);
}
body.theme-winter .status.aktif,
body.theme-winter .level.success {
    background: rgba(39, 174, 96, 0.2);
    box-shadow: 0 1px 4px rgba(39, 174, 96, 0.2);
}
.status.suresi-doldu,
.level.error {
    background: rgba(248, 113, 113, 0.2);
    color: var(--error);
    box-shadow: 0 0 8px rgba(248, 113, 113, 0.3);
}
body.theme-light .status.suresi-doldu,
body.theme-light .level.error {
    background: rgba(255, 0, 128, 0.3);
    box-shadow: 0 0 10px rgba(255, 0, 128, 0.4);
}
body.theme-cream .status.suresi-doldu,
body.theme-cream .level.error {
    background: rgba(229, 115, 115, 0.2);
    box-shadow: 0 1px 5px rgba(229, 115, 115, 0.2);
}
body.theme-winter .status.suresi-doldu,
body.theme-winter .level.error {
    background: rgba(231, 76, 60, 0.2);
    box-shadow: 0 1px 4px rgba(231, 76, 60, 0.2);
}
.status.iptal {
    background: rgba(224, 231, 255, 0.2);
    color: var(--text);
}
body.theme-light .status.iptal {
    background: rgba(240, 248, 255, 0.3);
}
body.theme-cream .status.iptal {
    background: rgba(250, 245, 230, 0.5);
}
body.theme-winter .status.iptal {
    background: rgba(248, 250, 252, 0.6);
}
.status.Yasaklı {
    background: rgba(248, 113, 113, 0.2);
    color: var(--error);
    box-shadow: 0 0 8px rgba(248, 113, 113, 0.3);
}
body.theme-light .status.Yasaklı {
    background: rgba(255, 0, 128, 0.3);
    box-shadow: 0 0 10px rgba(255, 0, 128, 0.4);
}
body.theme-cream .status.Yasaklı {
    background: rgba(229, 115, 115, 0.2);
    box-shadow: 0 1px 5px rgba(229, 115, 115, 0.2);
}
body.theme-winter .status.Yasaklı {
    background: rgba(231, 76, 60, 0.2);
    box-shadow: 0 1px 4px rgba(231, 76, 60, 0.2);
}
.level.info {
    background: rgba(96, 165, 250, 0.2);
    color: var(--primary);
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.3);
}
body.theme-light .level.info {
    background: rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}
body.theme-cream .level.info {
    background: rgba(212, 175, 55, 0.2);
    box-shadow: 0 1px 5px rgba(212, 175, 55, 0.2);
}
body.theme-winter .level.info {
    background: rgba(52, 152, 219, 0.2);
    box-shadow: 0 1px 4px rgba(52, 152, 219, 0.2);
}
.level.warning {
    background: rgba(250, 204, 21, 0.2);
    color: var(--warning);
    box-shadow: 0 0 8px rgba(250, 204, 21, 0.3);
}
body.theme-light .level.warning {
    background: rgba(255, 170, 0, 0.3);
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.4);
}
body.theme-cream .level.warning {
    background: rgba(255, 183, 77, 0.2);
    box-shadow: 0 1px 5px rgba(255, 183, 77, 0.2);
}
body.theme-winter .level.warning {
    background: rgba(243, 156, 18, 0.2);
    box-shadow: 0 1px 4px rgba(243, 156, 18, 0.2);
}
#licenseTable .actions button,
#licenseTable .actions a,
#pluginTable .actions button,
#userTable .actions button,
#announcementTable .actions button {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.5rem;
    color: var(--subtext);
    transition: var(--transition);
    border-radius: 6px;
}
#licenseTable .actions button:hover,
#licenseTable .actions a:hover,
#pluginTable .actions button:hover,
#userTable .actions button:hover,
#announcementTable .actions button:hover {
    color: var(--primary);
    background: rgba(96, 165, 250, 0.15);
    transform: scale(1.1);
}
body.theme-light #licenseTable .actions button:hover,
body.theme-light #licenseTable .actions a:hover,
body.theme-light #pluginTable .actions button:hover,
body.theme-light #userTable .actions button:hover,
body.theme-light #announcementTable .actions button:hover {
    background: rgba(0, 255, 255, 0.2);
}
body.theme-cream #licenseTable .actions button:hover,
body.theme-cream #licenseTable .actions a:hover,
body.theme-cream #pluginTable .actions button:hover,
body.theme-cream #userTable .actions button:hover,
body.theme-cream #announcementTable .actions button:hover {
    background: rgba(212, 175, 55, 0.15);
}
body.theme-winter #licenseTable .actions button:hover,
body.theme-winter #licenseTable .actions a:hover,
body.theme-winter #pluginTable .actions button:hover,
body.theme-winter #userTable .actions button:hover,
body.theme-winter #announcementTable .actions button:hover {
    background: rgba(52, 152, 219, 0.12);
}
#licenseTable .actions,
#pluginTable .actions,
#userTable .actions,
#announcementTable .actions {
    display: flex;
    gap: 0.5rem;
}
code.copy-key {
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3em 0.5em;
    border-radius: 6px;
    font-family: 'Monaco', monospace;
}
body.theme-light code.copy-key {
    background: rgba(255, 255, 255, 0.1);
    font-family: 'JetBrains Mono', monospace;
}
body.theme-cream code.copy-key {
    background: rgba(250, 245, 230, 0.5);
    font-family: 'Inter', monospace;
}
body.theme-winter code.copy-key {
    background: rgba(248, 250, 252, 0.6);
    font-family: 'Georgia', serif;
}
code.copy-key:hover {
    color: var(--primary);
    background: rgba(96, 165, 250, 0.1);
    box-shadow: var(--shadow-glow);
}
body.theme-light code.copy-key:hover {
    background: rgba(0, 255, 255, 0.2);
}
body.theme-cream code.copy-key:hover {
    background: rgba(212, 175, 55, 0.1);
}
body.theme-winter code.copy-key:hover {
    background: rgba(52, 152, 219, 0.08);
}
@media (max-width: 1024px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        transform: translateX(-100%);
        z-index: 1000;
    }
    body.sidebar-open .sidebar { transform: translateX(0); }
    .menu-toggle { display: block; }
    .main-content { width: 100%; }
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10002;
    transition: var(--transition);
}
body.theme-light .modal-overlay {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
}
body.theme-cream .modal-overlay {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}
body.theme-winter .modal-overlay {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
}
.modal-content {
    background: var(--surface-solid);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius);
    width: 90%;
    max-width: 500px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}
body.theme-light .modal-content {
    backdrop-filter: blur(30px);
}
body.theme-cream .modal-content {
    background: var(--surface-solid);
    backdrop-filter: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
body.theme-winter .modal-content {
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.modal-content h2 {
    margin-top: 0;
    color: var(--primary);
}
body.theme-light .modal-content h2 {
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}
body.theme-cream .modal-content h2 {
    text-shadow: none;
}
body.theme-winter .modal-content h2 {
    text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}
.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
}
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10003;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.toast {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: var(--shadow-glow);
    opacity: 0;
    transform: translateX(100%);
    animation: toast-slide 0.5s forwards;
    backdrop-filter: blur(10px);
}
body.theme-light .toast {
    backdrop-filter: blur(20px);
}
body.theme-cream .toast {
    backdrop-filter: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
body.theme-winter .toast {
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.toast.success {
    background: rgba(74, 222, 128, 0.9);
    color: var(--background);
}
body.theme-light .toast.success {
    background: rgba(0, 255, 136, 0.95);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}
body.theme-cream .toast.success {
    background: rgba(139, 195, 74, 0.9);
    box-shadow: 0 2px 10px rgba(139, 195, 74, 0.2);
}
body.theme-winter .toast.success {
    background: rgba(39, 174, 96, 0.9);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.15);
}
.toast.error {
    background: rgba(248, 113, 113, 0.9);
    color: var(--background);
}
body.theme-light .toast.error {
    background: rgba(255, 0, 128, 0.95);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.5);
}
body.theme-cream .toast.error {
    background: rgba(229, 115, 115, 0.9);
    box-shadow: 0 2px 10px rgba(229, 115, 115, 0.2);
}
body.theme-winter .toast.error {
    background: rgba(231, 76, 60, 0.9);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.15);
}
@keyframes toast-slide {
    to { opacity: 1; transform: translateX(0); }
}
/* --- EFEKTLER --- */
@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}
.shake-error {
    animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
body.scary-mode {
    --primary: #ef4444;
    --error: #ef4444;
    --border: rgba(239, 68, 68, 0.3);
    --background: #000;
}
body.theme-light.scary-mode {
    --primary: #ff0080;
    --error: #ff0080;
    --border: rgba(255, 0, 128, 0.4);
}
body.theme-cream.scary-mode {
    --primary: #e57373;
    --error: #e57373;
    --border: rgba(229, 115, 115, 0.3);
    --background: #fdf6e3;
}
body.theme-winter.scary-mode {
    --primary: #e74c3c;
    --error: #e74c3c;
    --border: rgba(231, 76, 60, 0.3);
}
body.scary-mode::before {
    filter: blur(150px) grayscale(1) sepia(0.5);
    animation-duration: 5s;
}
body.theme-light.scary-mode::before {
    filter: blur(200px) grayscale(1) sepia(0.6);
    animation-duration: 3s;
}
body.theme-cream.scary-mode::before {
    filter: blur(120px) grayscale(1) sepia(0.4);
    animation-duration: 4s;
}
body.theme-winter.scary-mode::before {
    filter: blur(140px) grayscale(1) sepia(0.4);
    animation-duration: 4.5s;
}
body.scary-mode .container > header,
body.scary-mode .container > main {
    border-color: var(--error);
    animation: pulse-red 2s infinite;
}
body.theme-light.scary-mode .container > header,
body.theme-light.scary-mode .container > main {
    animation: pulse-red 1.5s infinite;
}
body.theme-cream.scary-mode .container > header,
body.theme-cream.scary-mode .container > main {
    animation: pulse-red 2s infinite;
}
body.theme-winter.scary-mode .container > header,
body.theme-winter.scary-mode .container > main {
    animation: pulse-red 1.8s infinite;
}
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 30px 25px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
body.theme-light @keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 128, 0.8); }
    70% { box-shadow: 0 0 40px 30px rgba(255, 0, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 128, 0); }
}
body.theme-cream @keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(229, 115, 115, 0.6); }
    70% { box-shadow: 0 0 20px 15px rgba(229, 115, 115, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 115, 115, 0); }
}
body.theme-winter @keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.6); }
    70% { box-shadow: 0 0 25px 20px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}
.page-footer {
    text-align: center;
    padding: 1.5rem;
    color: var(--subtext);
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links a {
    color: var(--subtext);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 5px rgba(96, 165, 250, 0.5);
}
body.theme-light .footer-links a:hover {
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}
body.theme-cream .footer-links a:hover {
    text-shadow: none;
}
body.theme-winter .footer-links a:hover {
    text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}
.policy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(15px);
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}
body.theme-light .policy-modal-overlay {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(25px);
}
body.theme-cream .policy-modal-overlay {
    background: rgba(250, 245, 230, 0.9);
    backdrop-filter: blur(5px);
}
body.theme-winter .policy-modal-overlay {
    background: rgba(240, 248, 255, 0.9);
    backdrop-filter: blur(10px);
}
.policy-modal-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}
.policy-modal {
    background: var(--surface-solid);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    width: 90%;
    max-width: 800px;
    box-shadow: var(--shadow-glow);
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    transition: var(--transition);
}
body.theme-light .policy-modal {
    backdrop-filter: blur(30px);
}
body.theme-cream .policy-modal {
    background: var(--surface-solid);
    backdrop-filter: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
body.theme-winter .policy-modal {
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.policy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.policy-modal-header h2 {
    margin: 0;
    color: var(--primary);
}
.close-modal-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--subtext);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    padding: 0;
}
.close-modal-btn:hover {
    color: var(--error);
    transform: rotate(90deg) scale(1.1);
}
.policy-modal-content {
    overflow-y: auto;
    padding-right: 1rem;
}
.policy-modal-content h3 {
    color: var(--primary);
    margin-top: 1.5rem;
}
body.theme-light .policy-modal-content h3 {
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}
body.theme-cream .policy-modal-content h3 {
    text-shadow: none;
}
body.theme-winter .policy-modal-content h3 {
    text-shadow: none;
}
.policy-modal-content p {
    line-height: 1.7;
    color: var(--subtext);
}
.policy-modal-content ul { padding-left: 20px; }
#cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: var(--transition);
}
body.theme-light #cookie-consent-overlay {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(25px);
}
body.theme-cream #cookie-consent-overlay {
    background: rgba(250, 245, 230, 0.9);
    backdrop-filter: blur(5px);
}
body.theme-winter #cookie-consent-overlay {
    background: rgba(240, 248, 255, 0.9);
    backdrop-filter: blur(10px);
}
#cookie-consent-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}
#cookie-consent-banner {
    background: var(--surface-solid);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    width: 90%;
    max-width: 600px;
    text-align: center;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}
body.theme-light #cookie-consent-banner {
    backdrop-filter: blur(30px);
}
body.theme-cream #cookie-consent-banner {
    background: var(--surface-solid);
    backdrop-filter: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
body.theme-winter #cookie-consent-banner {
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
#cookie-consent-banner h2 {
    margin-top: 0;
    color: var(--primary);
}
body.theme-light #cookie-consent-banner h2 {
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}
body.theme-cream #cookie-consent-banner h2 {
    text-shadow: none;
}
body.theme-winter #cookie-consent-banner h2 {
    text-shadow: none;
}
#cookie-consent-banner p {
    color: var(--subtext);
    line-height: 1.6;
}
#cookie-consent-banner p a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}
#cookie-consent-banner p a:hover {
    text-decoration: underline;
    text-shadow: 0 0 5px rgba(96, 165, 250, 0.5);
}
body.theme-light #cookie-consent-banner p a:hover {
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}
body.theme-cream #cookie-consent-banner p a:hover {
    text-shadow: none;
}
body.theme-winter #cookie-consent-banner p a:hover {
    text-shadow: none;
}
#cookie-consent-banner .small-text {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 1rem;
}
.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.access-denied-page {
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    overflow: hidden;
    position: relative;
}
.access-denied-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(248, 113, 113, 0.4) 0%, transparent 70%);
    filter: blur(100px);
    animation: pulse-red 4s infinite alternate;
    z-index: -1;
}
body.theme-light .access-denied-page::before {
    background: radial-gradient(ellipse at center, rgba(255, 0, 128, 0.5) 0%, transparent 70%);
    filter: blur(120px);
    animation: pulse-red 3s infinite alternate;
}
body.theme-cream .access-denied-page::before {
    background: radial-gradient(ellipse at center, rgba(229, 115, 115, 0.3) 0%, transparent 70%);
    filter: blur(80px);
    animation: pulse-red 4s infinite alternate;
}
body.theme-winter .access-denied-page::before {
    background: radial-gradient(ellipse at center, rgba(231, 76, 60, 0.4) 0%, transparent 70%);
    filter: blur(90px);
    animation: pulse-red 3.5s infinite alternate;
}
.terminal {
    font-family: 'Roboto Mono', monospace;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(248, 113, 113, 0.5);
    box-shadow: 0 0 40px rgba(248, 113, 113, 0.4), inset 0 0 15px rgba(0, 0, 0, 0.6);
    margin-bottom: 2rem;
    transition: var(--transition);
}
body.theme-light .terminal {
    font-family: 'JetBrains Mono', monospace;
    background: rgba(5, 5, 10, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 0, 128, 0.6);
    box-shadow: 0 0 50px rgba(255, 0, 128, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.7);
}
body.theme-cream .terminal {
    font-family: 'Inter', monospace;
    background: rgba(250, 245, 230, 0.9);
    backdrop-filter: none;
    border: 1px solid rgba(229, 115, 115, 0.4);
    box-shadow: 0 0 30px rgba(229, 115, 115, 0.3), inset 0 0 10px rgba(0, 0, 0, 0.05);
}
body.theme-winter .terminal {
    font-family: 'Georgia', serif;
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(231, 76, 60, 0.4);
    box-shadow: 0 0 30px rgba(231, 76, 60, 0.3), inset 0 0 10px rgba(0, 0, 0, 0.02);
}
.terminal-header {
    background: rgba(50, 50, 50, 0.8);
    padding: 8px;
    display: flex;
    align-items: center;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border-bottom: 1px solid rgba(248, 113, 113, 0.5);
}
body.theme-light .terminal-header {
    background: rgba(40, 40, 50, 0.9);
    border-bottom: 1px solid rgba(255, 0, 128, 0.6);
}
body.theme-cream .terminal-header {
    background: rgba(240, 235, 220, 0.8);
    border-bottom: 1px solid rgba(229, 115, 115, 0.4);
}
body.theme-winter .terminal-header {
    background: rgba(248, 250, 252, 0.8);
    border-bottom: 1px solid rgba(231, 76, 60, 0.4);
}
.terminal-buttons { display: flex; gap: 6px; }
.t-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.t-btn.close { background-color: #ff5f56; }
.t-btn.min { background-color: #ffbd2e; }
.t-btn.max { background-color: #27c93f; }
.terminal-title {
    color: #a6a6a6;
    margin: 0 auto;
    font-weight: 700;
    letter-spacing: 2px;
}
body.theme-cream .terminal-title {
    color: #8b7d6b;
}
body.theme-winter .terminal-title {
    color: #5d6d7e;
}
.terminal-body {
    padding: 1.5rem;
    text-align: left;
    color: #00ff41;
    font-size: 0.9rem;
    height: 250px;
    overflow: hidden;
}
.terminal-body p { margin: 0 0 5px 0; }
.terminal-body .error-line {
    color: var(--error);
    font-weight: 700;
    text-shadow: 0 0 8px var(--error);
}
body.theme-light .terminal-body .error-line {
    text-shadow: 0 0 10px var(--error);
}
body.theme-cream .terminal-body .error-line {
    text-shadow: 0 0 5px var(--error);
}
body.theme-winter .terminal-body .error-line {
    text-shadow: 0 0 6px var(--error);
}
@keyframes blink {
    50% { opacity: 0; }
}
.terminal-body .last-line {
    animation: blink 1s step-end infinite;
}
.return-container p {
    color: var(--subtext);
    margin-bottom: 1.5rem;
}
.return-container .action-button.danger {
    background: linear-gradient(135deg, var(--error), #dc2626);
    box-shadow: 0 0 20px var(--error);
}
body.theme-light .return-container .action-button.danger {
    background: linear-gradient(135deg, var(--error), #cc0066);
    box-shadow: 0 0 30px var(--error);
}
body.theme-cream .return-container .action-button.danger {
    background: linear-gradient(135deg, var(--error), #c95a5a);
    box-shadow: 0 2px 10px var(--error);
}
body.theme-winter .return-container .action-button.danger {
    background: linear-gradient(135deg, var(--error), #c0392b);
    box-shadow: 0 2px 8px var(--error);
}
.error-page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    z-index: 2;
}
.error-content {
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem 4rem;
    box-shadow: var(--shadow-glow);
    max-width: 600px;
    transition: var(--transition);
}
body.theme-light .error-content {
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}
body.theme-cream .error-content {
    background: var(--surface);
    backdrop-filter: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
body.theme-winter .error-content {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.error-code {
    font-size: clamp(6rem, 12vw, 8rem);
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    line-height: 1;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.4);
}
body.theme-light .error-code {
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
}
body.theme-cream .error-code {
    text-shadow: none;
}
body.theme-winter .error-code {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.error-message {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text);
    margin: 1rem 0 0.5rem;
}
.error-submessage {
    font-size: 1rem;
    color: var(--subtext);
    margin-bottom: 2.5rem;
}
.error-content .action-button {
    padding: 12px 28px;
    font-size: 1rem;
}
.discord-widget-container {
    width: 100%;
    max-width: 650px;
    text-align: center;
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
body.theme-light .discord-widget-container {
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}
body.theme-cream .discord-widget-container {
    background: var(--surface);
    backdrop-filter: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
body.theme-winter .discord-widget-container {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.discord-widget-header h2 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--text);
    font-weight: 600;
}
.discord-widget-body p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--subtext);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.discord-widget-body #discord-online-count {
    color: var(--success);
    font-weight: 700;
    font-size: 1.2rem;
}
body.theme-light .discord-widget-body #discord-online-count {
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
}
body.theme-cream .discord-widget-body #discord-online-count {
    text-shadow: none;
}
body.theme-winter .discord-widget-body #discord-online-count {
    text-shadow: none;
}
.online-indicator {
    width: 12px;
    height: 12px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--success);
    animation: pulse 2s infinite;
}
body.theme-light .online-indicator {
    box-shadow: 0 0 15px var(--success);
}
body.theme-cream .online-indicator {
    box-shadow: 0 0 8px var(--success);
}
body.theme-winter .online-indicator {
    box-shadow: 0 0 10px var(--success);
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
body.theme-light @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.8); }
    70% { box-shadow: 0 0 0 15px rgba(0, 255, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}
body.theme-cream @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(139, 195, 74, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(139, 195, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(139, 195, 74, 0); }
}
body.theme-winter @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(39, 174, 96, 0); }
    100% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0); }
}
.discord-widget-footer .action-button.success {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}
.changelog-history-container {
    max-height: 60vh;
    overflow-y: auto;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.changelog-entry {
    background: var(--surface-solid);
    backdrop-filter: blur(10px);
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
body.theme-light .changelog-entry {
    backdrop-filter: blur(20px);
}
body.theme-cream .changelog-entry {
    background: var(--surface-solid);
    backdrop-filter: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
body.theme-winter .changelog-entry {
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.changelog-entry:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-glow);
}
.changelog-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.changelog-version {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}
body.theme-light .changelog-version {
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}
body.theme-cream .changelog-version {
    text-shadow: none;
}
body.theme-winter .changelog-version {
    text-shadow: none;
}
.changelog-date {
    font-size: 0.8rem;
    color: var(--subtext);
    font-style: italic;
}
.changelog-notes {
    white-space: pre-wrap;
    word-wrap: break-word;
    color: var(--text);
    padding-left: 0.5rem;
    font-family: var(--font-family);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}
.announcement-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}
.announcement-form textarea {
    width: 100%;
    min-height: 80px;
    resize: vertical;
    background: var(--surface-solid);
    border: 1px solid var(--border);
}
body.theme-light .announcement-form textarea {
    backdrop-filter: blur(20px);
}
body.theme-cream .announcement-form textarea {
    background: var(--surface-solid);
}
body.theme-winter .announcement-form textarea {
    backdrop-filter: blur(5px);
}
.user-modal-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.ban-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.ban-label {
    font-weight: 500;
    color: var(--error);
    cursor: pointer;
    transition: var(--transition);
}
.ban-label:hover { text-shadow: 0 0 5px var(--error); }
body.theme-light .ban-label:hover { text-shadow: 0 0 10px var(--error); }
body.theme-cream .ban-label:hover { text-shadow: none; }
body.theme-winter .ban-label:hover { text-shadow: 0 1px 1px rgba(0,0,0,0.05); }
.ban-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--error);
    cursor: pointer;
}
/* --- Müşteri Paneli Duyuru Banner'ı --- */
#announcement-container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto 2rem auto;
}
.announcement-banner {
    background: rgba(96, 165, 250, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}
body.theme-light .announcement-banner {
    background: rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}
body.theme-cream .announcement-banner {
    background: rgba(212, 175, 55, 0.05);
    backdrop-filter: none;
    border-color: var(--primary);
}
body.theme-winter .announcement-banner {
    background: rgba(52, 152, 219, 0.05);
    backdrop-filter: blur(5px);
    border-color: var(--primary);
}
.announcement-banner:hover {
    background: rgba(96, 165, 250, 0.1);
    transform: scale(1.02);
}
body.theme-light .announcement-banner:hover {
    background: rgba(0, 255, 255, 0.2);
}
body.theme-cream .announcement-banner:hover {
    background: rgba(212, 175, 55, 0.1);
}
body.theme-winter .announcement-banner:hover {
    background: rgba(52, 152, 219, 0.1);
}
.announcement-banner p {
    margin: 0;
    color: var(--text);
}
.announcement-banner p strong {
    color: var(--primary);
}
body.theme-light .announcement-banner p strong {
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}
body.theme-cream .announcement-banner p strong {
    text-shadow: none;
}
body.theme-winter .announcement-banner p strong {
    text-shadow: none;
}
.license-warning-banner {
    background: rgba(250, 204, 21, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--warning);
    border-left: 5px solid var(--warning);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.25);
    transition: var(--transition);
}
body.theme-light .license-warning-banner {
    background: rgba(255, 170, 0, 0.15);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(255, 170, 0, 0.3);
}
body.theme-cream .license-warning-banner {
    background: rgba(255, 183, 77, 0.1);
    backdrop-filter: none;
    box-shadow: 0 2px 10px rgba(255, 183, 77, 0.15);
}
body.theme-winter .license-warning-banner {
    background: rgba(243, 156, 18, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.15);
}
.license-warning-banner p {
    margin: 0;
    color: var(--text);
    font-size: 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.license-warning-banner p::before {
    content: '⚠️';
    font-size: 1.5rem;
    margin-right: 0.5rem;
    line-height: 1;
}
.license-warning-banner strong {
    color: var(--warning);
    font-weight: 600;
}
.license-warning-banner .renew-button {
    color: var(--background);
    background: var(--warning);
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    margin-left: auto;
}
.license-warning-banner .renew-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(250, 204, 21, 0.3);
}
body.theme-light .license-warning-banner .renew-button:hover {
    box-shadow: 0 5px 20px rgba(255, 170, 0, 0.4);
}
body.theme-cream .license-warning-banner .renew-button:hover {
    box-shadow: 0 2px 8px rgba(255, 183, 77, 0.2);
}
body.theme-winter .license-warning-banner .renew-button:hover {
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.2);
}
.verification-box {
    padding: 2.5rem;
    text-align: center;
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
    max-width: 500px;
    margin: 0 auto;
}
body.theme-light .verification-box {
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}
body.theme-cream .verification-box {
    background: var(--surface);
    backdrop-filter: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
body.theme-winter .verification-box {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.verification-box h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
}
body.theme-light .verification-box h1 {
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}
body.theme-cream .verification-box h1 {
    text-shadow: none;
}
body.theme-winter .verification-box h1 {
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.verification-box .info-text {
    color: var(--subtext);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.verification-box .verifier {
    max-width: 450px;
    margin: 0 auto 1.5rem auto;
}
#verificationCode {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.5em;
    background: var(--surface-solid);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text);
    font-family: 'Monaco', monospace;
    transition: var(--transition);
}
body.theme-light #verificationCode {
    backdrop-filter: blur(20px);
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.2);
}
body.theme-cream #verificationCode {
    background: var(--surface-solid);
    backdrop-filter: none;
    font-family: 'Inter', monospace;
    text-shadow: none;
}
body.theme-winter #verificationCode {
    backdrop-filter: blur(5px);
    font-family: 'Georgia', serif;
    text-shadow: none;
}
.space-scene {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    overflow: hidden;
    z-index: -1;
}
body.theme-light .space-scene {
    background: var(--background);
}
body.theme-cream .space-scene {
    background: var(--background);
}
body.theme-winter .space-scene {
    background: linear-gradient(to bottom, #e6f3ff, #b3d9ff);
}
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background-repeat: repeat;
    background-size: 3px 3px;
    animation: moveStars 60s linear infinite;
}
body.theme-light .stars {
    height: 200%;
    background-size: 4px 4px;
    animation: moveStars 50s linear infinite;
}
body.theme-cream .stars {
    background-size: 2px 2px;
    animation: moveStars 40s linear infinite;
}
body.theme-winter .stars {
    background-size: 3px 3px;
    animation: moveStars 50s linear infinite;
    opacity: 0.8;
}
.stars1 {
    background-image: radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0));
    background-color: transparent;
    animation-duration: 80s;
    opacity: 0.6;
}
body.theme-light .stars1 {
    background-image: radial-gradient(2px 2px at 20px 30px, #ffffff, rgba(0,0,0,0));
    opacity: 0.8;
}
body.theme-cream .stars1 {
    background-image: radial-gradient(2px 2px at 20px 30px, #d4af37, rgba(0,0,0,0));
    opacity: 0.5;
}
body.theme-winter .stars1 {
    background-image: radial-gradient(2px 2px at 20px 30px, #ffffff, rgba(0,0,0,0));
    opacity: 0.7;
}
.stars2 {
    background-image: radial-gradient(1px 1px at 40px 70px, #fff, rgba(0,0,0,0));
    background-color: transparent;
    animation-duration: 100s;
    animation-direction: reverse;
    opacity: 0.4;
}
body.theme-light .stars2 {
    background-image: radial-gradient(1px 1px at 40px 70px, #ffffff, rgba(0,0,0,0));
    opacity: 0.6;
}
body.theme-cream .stars2 {
    background-image: radial-gradient(1px 1px at 40px 70px, #8bc34a, rgba(0,0,0,0));
    opacity: 0.3;
}
body.theme-winter .stars2 {
    background-image: radial-gradient(1px 1px at 40px 70px, #b3d9ff, rgba(0,0,0,0));
    opacity: 0.5;
}
.stars3 {
    background-image: radial-gradient(0.5px 0.5px at 60px 100px, #ddd, rgba(0,0,0,0));
    background-color: transparent;
    animation-duration: 120s;
    opacity: 0.3;
}
body.theme-light .stars3 {
    background-image: radial-gradient(0.5px 0.5px at 60px 100px, #ffffff, rgba(0,0,0,0));
    opacity: 0.4;
}
body.theme-cream .stars3 {
    background-image: radial-gradient(0.5px 0.5px at 60px 100px, #ffb74d, rgba(0,0,0,0));
    opacity: 0.2;
}
body.theme-winter .stars3 {
    background-image: radial-gradient(0.5px 0.5px at 60px 100px, #e6f3ff, rgba(0,0,0,0));
    opacity: 0.4;
}
@keyframes moveStars {
    from { transform: translateY(0px) translateX(0px); }
    to { transform: translateY(-800px) translateX(50px); }
}
body.theme-light @keyframes moveStars {
    from { transform: translateY(0px) translateX(0px); }
    to { transform: translateY(-1000px) translateX(60px); }
}
body.theme-cream @keyframes moveStars {
    from { transform: translateY(0px) translateX(0px); }
    to { transform: translateY(-600px) translateX(30px); }
}
body.theme-winter @keyframes moveStars {
    from { transform: translateY(0px) translateX(0px); }
    to { transform: translateY(-700px) translateX(40px); }
}
@keyframes floatAnimation {
    0%, 100% { transform: translateY(0px) rotate(2deg); }
    50% { transform: translateY(-30px) rotate(-2deg); }
}
body.theme-light @keyframes floatAnimation {
    0%, 100% { transform: translateY(0px) rotate(2deg); }
    50% { transform: translateY(-40px) rotate(-2deg); }
}
body.theme-cream @keyframes floatAnimation {
    0%, 100% { transform: translateY(0px) rotate(1deg); }
    50% { transform: translateY(-20px) rotate(-1deg); }
}
body.theme-winter @keyframes floatAnimation {
    0%, 100% { transform: translateY(0px) rotate(1deg); }
    50% { transform: translateY(-25px) rotate(-1deg); }
}
.error-page-container {
    position: relative;
    z-index: 2;
}
.planet {
    position: absolute;
    border-radius: 50%;
    animation: rotate linear infinite;
}
.moon {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 30% 30%, #c0c0c0 0%, #a0a0a0 50%, #808080 100%);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.5);
    animation-duration: 10s;
}
.mars {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 40% 40%, #cd5c5c 0%, #b22222 50%, #8b0000 100%);
    box-shadow: 0 0 30px rgba(205, 92, 92, 0.6);
}
.earth {
    width: 80px;
    height: 80px;
    background: radial-gradient(ellipse at 30% 20%, #00bfff 0%, #1e90ff 30%, #4169e1 60%, #228b22 100%);
    box-shadow: 0 0 40px rgba(0, 191, 255, 0.7);
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* --- YENİ KOD --- */
.space-scene {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--background);
    z-index: 1;
}
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background-size: 3px 3px;
    animation: moveStars 60s linear infinite;
}
body.theme-light .stars {
    background-size: 4px 4px;
    animation: moveStars 50s linear infinite;
}
body.theme-cream .stars {
    background-size: 2px 2px;
    animation: moveStars 40s linear infinite;
}
body.theme-winter .stars {
    background-size: 3px 3px;
    animation: moveStars 50s linear infinite;
}
.stars1 {
    background-image: radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0));
    background-color: transparent;
    animation-duration: 80s;
    opacity: 0.6;
}
body.theme-light .stars1 {
    background-image: radial-gradient(2px 2px at 20px 30px, #00ffff, rgba(0,0,0,0));
    animation-duration: 70s;
    opacity: 0.7;
}
body.theme-cream .stars1 {
    background-image: radial-gradient(2px 2px at 20px 30px, #d4af37, rgba(0,0,0,0));
    animation-duration: 60s;
    opacity: 0.4;
}
body.theme-winter .stars1 {
    background-image: radial-gradient(2px 2px at 20px 30px, #ffffff, rgba(0,0,0,0));
    animation-duration: 70s;
    opacity: 0.6;
}
.stars2 {
    background-image: radial-gradient(1px 1px at 40px 70px, #fff, rgba(0,0,0,0));
    background-color: transparent;
    animation-duration: 100s;
    animation-direction: reverse;
    opacity: 0.4;
}
body.theme-light .stars2 {
    background-image: radial-gradient(1px 1px at 40px 70px, #ff00ff, rgba(0,0,0,0));
    animation-duration: 90s;
    opacity: 0.5;
}
body.theme-cream .stars2 {
    background-image: radial-gradient(1px 1px at 40px 70px, #8bc34a, rgba(0,0,0,0));
    animation-duration: 80s;
    opacity: 0.3;
}
body.theme-winter .stars2 {
    background-image: radial-gradient(1px 1px at 40px 70px, #b3d9ff, rgba(0,0,0,0));
    animation-duration: 90s;
    opacity: 0.4;
}
.stars3 {
    background-image: radial-gradient(0.5px 0.5px at 60px 100px, #ddd, rgba(0,0,0,0));
    background-color: transparent;
    animation-duration: 120s;
    opacity: 0.3;
}
body.theme-light .stars3 {
    background-image: radial-gradient(0.5px 0.5px at 60px 100px, #00ff88, rgba(0,0,0,0));
    animation-duration: 110s;
    opacity: 0.4;
}
body.theme-cream .stars3 {
    background-image: radial-gradient(0.5px 0.5px at 60px 100px, #ffb74d, rgba(0,0,0,0));
    animation-duration: 100s;
    opacity: 0.2;
}
body.theme-winter .stars3 {
    background-image: radial-gradient(0.5px 0.5px at 60px 100px, #e6f3ff, rgba(0,0,0,0));
    animation-duration: 110s;
    opacity: 0.3;
}
.astronaut {
    position: absolute;
    top: 45%;
    right: 15%;
    width: 80px;
    height: 100px;
    animation: floatAnimation 6s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    z-index: 2;
}
body.theme-light .astronaut {
    animation: floatAnimation 5s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}
body.theme-cream .astronaut {
    animation: floatAnimation 7s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
body.theme-winter .astronaut {
    animation: floatAnimation 6s ease-in-out infinite;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.1));
}
.astronaut-body {
    position: relative;
    width: 70px;
    height: 90px;
    background: linear-gradient(145deg, #f0f0f0, #d0d0d0);
    border-radius: 40px 40px 10px 10px;
    margin: 0 auto;
    box-shadow:
        inset 0 2px 4px rgba(255,255,255,0.5),
        0 4px 8px rgba(0,0,0,0.2);
}
body.theme-light .astronaut-body {
    background: linear-gradient(145deg, #f8f8ff, #c0c0ff);
    box-shadow:
        inset 0 2px 4px rgba(255,255,255,0.6),
        0 4px 8px rgba(0,0,0,0.3);
}
body.theme-cream .astronaut-body {
    background: linear-gradient(145deg, #fdf6e3, #f0e8d6);
    box-shadow:
        inset 0 1px 2px rgba(255,255,255,0.8),
        0 2px 4px rgba(0,0,0,0.1);
}
body.theme-winter .astronaut-body {
    background: linear-gradient(145deg, #ffffff, #f0f8ff);
    box-shadow:
        inset 0 1px 2px rgba(255,255,255,0.8),
        0 3px 6px rgba(0,0,0,0.08);
}
.astronaut-helmet {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 70px;
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
    box-shadow:
        inset 0 2px 4px rgba(255,255,255,0.8),
        0 2px 4px rgba(0,0,0,0.2);
}
body.theme-light .astronaut-helmet {
    background: linear-gradient(145deg, #ffffff, #e0e0ff);
    box-shadow:
        inset 0 2px 4px rgba(255,255,255,0.9),
        0 2px 4px rgba(0,0,0,0.3);
}
body.theme-cream .astronaut-helmet {
    background: linear-gradient(145deg, #ffffff, #fdf6e3);
    box-shadow:
        inset 0 1px 2px rgba(255,255,255,0.9),
        0 1px 2px rgba(0,0,0,0.1);
}
body.theme-winter .astronaut-helmet {
    background: linear-gradient(145deg, #ffffff, #f0f8ff);
    box-shadow:
        inset 0 1px 2px rgba(255,255,255,0.9),
        0 2px 4px rgba(0,0,0,0.08);
}
.astronaut-visor {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 35px;
    background: linear-gradient(45deg, #2c3e50, #34495e);
    border-radius: 15px;
    border: 3px solid #7f8c8d;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}
body.theme-light .astronaut-visor {
    background: linear-gradient(45deg, #001122, #003344);
    border: 3px solid #00ffff;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.4);
}
body.theme-cream .astronaut-visor {
    background: linear-gradient(45deg, #8b7d6b, #a09888);
    border: 3px solid #d4af37;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}
body.theme-winter .astronaut-visor {
    background: linear-gradient(45deg, #2c3e50, #34495e);
    border: 3px solid #3498db;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}
.setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 400px;
}
.toggle-label {
    font-weight: 500;
    color: var(--text);
}
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--surface-solid);
    border: 1px solid var(--border);
    transition: .4s;
}
body.theme-light .slider {
    border-radius: 34px;
}
body.theme-cream .slider {
    border-radius: 34px;
}
body.theme-winter .slider {
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}
body.theme-light .slider:before {
    border-radius: 50%;
}
body.theme-cream .slider:before {
    border-radius: 50%;
}
body.theme-winter .slider:before {
    border-radius: 50%;
}
input:checked + .slider {
    background-color: var(--success);
}
input:focus + .slider {
    box-shadow: 0 0 1px var(--success);
}
input:checked + .slider:before {
    transform: translateX(26px);
}
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}
body.theme-light input:checked + .slider {
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}
body.theme-cream input:checked + .slider {
    box-shadow: 0 0 5px rgba(139, 195, 74, 0.3);
}
body.theme-winter input:checked + .slider {
    box-shadow: 0 0 6px rgba(39, 174, 96, 0.3);
}
.health-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.health-card {
    background: var(--surface);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    border-left: 4px solid var(--border);
    transition: var(--transition);
}
body.theme-light .health-card {
    backdrop-filter: blur(30px);
}
body.theme-cream .health-card {
    background: var(--surface);
    backdrop-filter: none;
    border-left-color: var(--primary);
}
body.theme-winter .health-card {
    backdrop-filter: blur(5px);
    border-left-color: var(--primary);
}
.health-card h3 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: var(--text);
}
.health-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.status-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}
.status-text {
    font-size: 1rem;
    font-weight: 600;
}
.health-detail {
    font-size: 0.85rem;
    color: var(--subtext);
    margin: 0;
    word-break: break-word;
}
/* Durum Renkleri */
.health-card .status-ok { color: var(--success); }
.health-card .status-warning { color: var(--warning); }
.health-card .status-error { color: var(--error); }
.status-indicator.status-ok { background-color: var(--success); box-shadow: 0 0 10px var(--success); }
.status-indicator.status-warning { background-color: var(--warning); box-shadow: 0 0 10px var(--warning); }
.status-indicator.status-error { background-color: var(--error); box-shadow: 0 0 10px var(--error); }
body.theme-light .status-indicator.status-ok { box-shadow: 0 0 15px var(--success); }
body.theme-light .status-indicator.status-warning { box-shadow: 0 0 15px var(--warning); }
body.theme-light .status-indicator.status-error { box-shadow: 0 0 15px var(--error); }
body.theme-cream .status-indicator.status-ok { box-shadow: 0 0 8px var(--success); }
body.theme-cream .status-indicator.status-warning { box-shadow: 0 0 8px var(--warning); }
body.theme-cream .status-indicator.status-error { box-shadow: 0 0 8px var(--error); }
body.theme-winter .status-indicator.status-ok { box-shadow: 0 0 8px var(--success); }
body.theme-winter .status-indicator.status-warning { box-shadow: 0 0 8px var(--warning); }
body.theme-winter .status-indicator.status-error { box-shadow: 0 0 8px var(--error); }
.health-card { border-left-color: var(--primary); }
.page-footer {
    position: relative;
    text-align: center;
    padding: 1.5rem;
    margin-top: -5rem;
    color: var(--subtext);
    width: 100%;
    z-index: 10;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--subtext);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 8px;
    background: var(--surface-solid);
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
body.theme-light .footer-links a {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
}
body.theme-cream .footer-links a {
    background: var(--surface-solid);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
body.theme-winter .footer-links a {
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    backdrop-filter: blur(5px);
}
.footer-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(96, 165, 250, 0.1), rgba(147, 51, 234, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: -1;
    transform: scale(0.8);
}
body.theme-light .footer-links a::before {
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.2), rgba(255, 0, 255, 0.2));
}
body.theme-cream .footer-links a::before {
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.1), rgba(139, 195, 74, 0.1));
}
body.theme-winter .footer-links a::before {
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(41, 128, 185, 0.1));
}
.footer-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.5);
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}
body.theme-light .footer-links a:hover {
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}
body.theme-cream .footer-links a:hover {
    text-shadow: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1), var(--shadow-glow);
}
body.theme-winter .footer-links a:hover {
    text-shadow: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), var(--shadow-glow);
}
.footer-links a:hover::before {
    opacity: 1;
    transform: scale(1);
}
#ip-management-modal .modal-content {
    max-width: 750px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.ip-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}
.ip-modal-header h2 {
    margin: 0;
}
.ip-limit-badge {
    background-color: var(--surface-solid);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--subtext);
    border: 1px solid var(--border);
    white-space: nowrap;
}
body.theme-light .ip-limit-badge {
    backdrop-filter: blur(20px);
}
body.theme-cream .ip-limit-badge {
    background: var(--surface-solid);
}
body.theme-winter .ip-limit-badge {
    backdrop-filter: blur(5px);
}
#ip-management-modal fieldset {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 0;
}
body.theme-light #ip-management-modal fieldset {
    background: var(--surface);
    backdrop-filter: blur(20px);
}
body.theme-cream #ip-management-modal fieldset {
    background: var(--surface);
}
body.theme-winter #ip-management-modal fieldset {
    background: var(--surface);
    backdrop-filter: blur(5px);
}
#ip-management-modal legend {
    padding: 0 0.5rem;
    font-weight: 600;
    color: var(--primary);
}
#ipTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}
#ipTable th,
#ipTable td {
    padding: 14px 18px;
    text-align: left;
    white-space: nowrap;
    vertical-align: middle;
    background: var(--surface-solid);
}
body.theme-light #ipTable th,
body.theme-light #ipTable td {
    backdrop-filter: blur(20px);
}
body.theme-cream #ipTable th,
body.theme-cream #ipTable td {
    background: var(--surface-solid);
}
body.theme-winter #ipTable th,
body.theme-winter #ipTable td {
    backdrop-filter: blur(5px);
}
#ipTable th {
    font-weight: 600;
    color: var(--primary);
    background: rgba(96, 165, 250, 0.1);
}
body.theme-light #ipTable th {
    background: rgba(0, 255, 255, 0.15);
}
body.theme-cream #ipTable th {
    background: rgba(212, 175, 55, 0.1);
}
body.theme-winter #ipTable th {
    background: rgba(52, 152, 219, 0.08);
}
#ipTable td:first-child, #ipTable th:first-child {
    border-top-left-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
}
#ipTable td:last-child, #ipTable th:last-child {
    border-top-right-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    text-align: center;
}
#ipTable .actions .action-button {
    padding: 8px 16px;
    font-size: 0.9rem;
}
.security-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}
.security-section h3 {
    margin-top: 0;
    color: var(--text);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}
.section-description {
    font-size: 0.9rem;
    color: var(--subtext);
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    min-height: 40px;
}
.alerts-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 350px;
    overflow-y: auto;
    padding-right: 10px;
}
.alert-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(248, 113, 113, 0.05);
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(248, 113, 113, 0.2);
    border-left: 4px solid var(--error);
    transition: var(--transition);
}
body.theme-light .alert-card {
    background: rgba(255, 0, 128, 0.1);
    border: 1px solid rgba(255, 0, 128, 0.3);
    backdrop-filter: blur(20px);
}
body.theme-cream .alert-card {
    background: rgba(229, 115, 115, 0.05);
    border: 1px solid rgba(229, 115, 115, 0.2);
    backdrop-filter: none;
}
body.theme-winter .alert-card {
    background: rgba(231, 76, 60, 0.05);
    border: 1px solid rgba(231, 76, 60, 0.2);
    backdrop-filter: blur(5px);
}
.alert-card:hover {
    transform: translateX(5px);
    box-shadow: 0 0 15px rgba(248, 113, 113, 0.1);
}
body.theme-light .alert-card:hover {
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.2);
}
body.theme-cream .alert-card:hover {
    box-shadow: 0 2px 10px rgba(229, 115, 115, 0.1);
}
body.theme-winter .alert-card:hover {
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.1);
}
.alert-icon {
    flex-shrink: 0;
    color: var(--error);
}
.alert-info {
    flex-grow: 1;
}
.alert-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text);
}
.alert-info h4 code {
    background: rgba(248, 113, 113, 0.2);
    color: var(--error);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 1.1rem;
}
body.theme-light .alert-info h4 code {
    background: rgba(255, 0, 128, 0.3);
}
body.theme-cream .alert-info h4 code {
    background: rgba(229, 115, 115, 0.2);
}
body.theme-winter .alert-info h4 code {
    background: rgba(231, 76, 60, 0.2);
}
.alert-details {
    font-size: 0.85rem;
    color: var(--subtext);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.alert-details strong {
    color: var(--text);
}
.alert-timestamp {
    font-size: 0.8rem;
    color: var(--subtext);
    text-align: right;
    white-space: nowrap;
    margin-left: auto;
    padding-left: 1rem;
}
.alert-card.new-alert {
    animation: fadeIn 0.5s ease-out;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.changelog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1rem;
}
.changelog-actions .action-button {
    padding: 6px 14px;
    font-size: 0.85rem;
}
#music-player {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--surface-solid);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-glow);
    z-index: 9998;
}
body.theme-light #music-player {
    backdrop-filter: blur(20px);
    border-radius: 50px;
}
body.theme-cream #music-player {
    background: var(--surface-solid);
    backdrop-filter: none;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
body.theme-winter #music-player {
    backdrop-filter: blur(5px);
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
#play-pause-btn {
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}
#play-pause-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}
#volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    outline: none;
    transition: opacity .2s;
}
body.theme-light #volume-slider {
    background: rgba(255, 255, 255, 0.3);
}
body.theme-cream #volume-slider {
    background: rgba(90, 79, 71, 0.2);
}
body.theme-winter #volume-slider {
    background: rgba(44, 62, 80, 0.2);
}
#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: var(--primary);
    cursor: pointer;
    border-radius: 50%;
}
body.theme-light #volume-slider::-webkit-slider-thumb {
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}
body.theme-cream #volume-slider::-webkit-slider-thumb {
    box-shadow: none;
}
body.theme-winter #volume-slider::-webkit-slider-thumb {
    box-shadow: none;
}
#volume-slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: var(--primary);
    cursor: pointer;
    border-radius: 50%;
    border: none;
}
body.theme-light #volume-slider::-moz-range-thumb {
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}
body.theme-cream #volume-slider::-moz-range-thumb {
    box-shadow: none;
}
body.theme-winter #volume-slider::-moz-range-thumb {
    box-shadow: none;
}
@media (max-width: 768px) {
    /* Müzik çaları ve tema değiştirme butonunu mobil cihazlarda gizle */
    #music-player,
    .theme-toggle-container {
        display: none !important; /* Görünmesini engelle */
    }
}
/* =================================== */
/* === MOBİL ANA SAYFA DÜZENLEMELERİ === */
/* =================================== */
@media (max-width: 768px) {
    /* Genel sayfa düzeni */
    body {
        padding: 0;
    }
    /* Navbar/üst kısım ayarları (eğer varsa, responsive olarak daraltılması gerekebilir) */
    .navbar {
        width: 100%;
        margin: 0;
        border-radius: 0;
        padding: 1rem;
        box-shadow: none; /* Mobilde navbar'da gölgeye gerek yok */
        background: var(--surface-solid);
        border: none;
        border-bottom: 1px solid var(--border); /* Hafif bir ayırıcı ekle */
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
    .navbar-user {
        gap: 0.5rem;
    }
    /* Üstteki login/yönetici giriş butonlarını içeren bölüm */
    .top-buttons {
        position: static; /* Mutlak konumlandırmayı kaldır */
        transform: none; /* Ortalamayı kaldır */
        flex-direction: column; /* Butonları alt alta sırala */
        gap: 15px; /* Aralarındaki boşluğu artır */
        padding: 1.5rem 0 0; /* Üstten boşluk ekle */
        max-width: 100%;
        width: auto;
        margin-left: auto;
        margin-right: auto;
    }
    .top-buttons .login-button {
        width: 80%; /* Butonların genişliğini ayarla */
        max-width: 300px; /* Maksimum genişlik ver */
        margin: 0 auto; /* Ortala */
        padding: 10px 20px;
        font-size: 0.95rem;
        box-shadow: none; /* Mobil butonlarda daha az gölge */
        background: var(--surface); /* Hafif arka plan */
        border: 1px solid var(--border); /* Hafif kenarlık */
    }
    .top-buttons .login-button:hover {
        transform: none; /* Hover efektini kaldır veya azalt */
    }
    /* Ana kapsayıcı (login alanı, sunucu bilgileri vb. içeren ana kartlar) */
    .container {
        width: 95%; /* Biraz daha geniş, kenarlarda boşluk kalsın */
        margin-top: 1.5rem;
        padding: 0; /* İç dolguyu kaldır, iç elementler kendi dolgularını ayarlasın */
        min-height: auto; /* Minimum yüksekliği otomatik yap */
        flex-direction: column; /* İç elementleri alt alta sırala */
        gap: 1.5rem; /* Kartlar arası boşluk */
    }
    .container > header,
    .container > main {
        width: 100%; /* Mobil ekranda tam genişlik al */
        max-width: none; /* Maksimum genişlik sınırlamasını kaldır */
        padding: 1.5rem; /* İç dolguyu ayarla */
        border-radius: var(--radius); /* Köşeleri yuvarlak yap */
        box-shadow: var(--shadow); /* Hafif gölge */
        border: 1px solid var(--border);
        background: var(--surface-solid); /* Daha belirgin arka plan */
    }
    .container > header {
        border-bottom: 1px solid var(--border); /* Ayırıcı kenarlığı geri getir */
        border-bottom-left-radius: var(--radius); /* Köşeleri yuvarlak yap */
        border-bottom-right-radius: var(--radius); /* Köşeleri yuvarlak yap */
    }
    .container > main {
        border-top-left-radius: var(--radius); /* Köşeleri yuvarlak yap */
        border-top-right-radius: var(--radius); /* Köşeleri yuvarlak yap */
    }
    header h1 {
        font-size: 1.8rem; /* Başlık boyutunu küçült */
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    header p {
        font-size: 1rem; /* Paragraf boyutunu küçült */
        margin-bottom: 1rem;
    }
    /* Lisans doğrulama alanı (input ve buton) */
    .verifier {
        flex-direction: column; /* Input ve butonu alt alta sırala */
        gap: 10px;
    }
    input[type="text"],
    input[type="number"],
    select,
    textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    button, .action-button, .login-button {
        padding: 12px 20px;
        font-size: 0.95rem;
        width: 100%; /* Mobil butonları tam genişlikte yap */
    }
    /* "Sunucu Bilgileri Yükleniyor..." kartı */
    .panel-header {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
    /* Gizlilik, Kullanım Koşulları vb. butonları */
    .return-container { /* Eğer bu sınıf kullanılıyorsa, butonları da düzenle */
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 1.5rem; /* Butonların etrafına boşluk ekle */
        margin-top: 1rem;
        background: var(--surface-solid);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        max-width: none; /* Genişlik sınırlamasını kaldır */
        width: 100%;
    }
    .return-container p { /* Bu alanda mesaj varsa */
        margin-bottom: 10px;
        font-size: 0.95rem;
    }
    .return-container .action-button {
        width: 100%;
        margin: 0 auto;
    }
    /* Eğer logonuz bir resimse ve üstte yer alıyorsa */
    .logo-container { /* Eğer böyle bir kapsayıcınız varsa */
        margin-bottom: 1rem;
    }
    .logo-container img {
        max-width: 80px; /* Logonun boyutunu küçült */
        height: auto;
    }
    /* Kalkan logosu (Image 2'deki gibi) için spesifik ayarlama */
    .logo-shield { /* Eğer kalkanın özel bir sınıfı varsa */
        max-width: 80px; /* Kalkan boyutunu küçült */
        height: auto;
        margin: 0 auto 1rem auto; /* Ortala ve altından boşluk bırak */
    }
    /* Not: Kalkanın HTML'deki yerini ve sınıfını bilmediğim için, genel bir tahminle ekledim.
           Eğer kalkan `.top-buttons` içinde veya `header` içinde farklı bir yapıdaysa,
           bu seçiciyi ve stilini ona göre ayarlamamız gerekebilir. */
}
/* Telefonlar için daha küçük ekran ayarları (ör: 480px ve altı) */
@media (max-width: 480px) {
    .container > header,
    .container > main {
        padding: 1rem; /* Daha küçük telefonlarda iç dolguyu azalt */
    }
    header h1 {
        font-size: 1.5rem;
    }
    header p {
        font-size: 0.9rem;
    }
    .top-buttons .login-button {
        width: 90%; /* Daha küçük ekranlarda butonları biraz daha geniş yap */
    }
}
@media (max-width: 768px) {
    .page-footer {
        margin-top: 1rem;
        padding: 1.5rem 1rem;
    }
    /* Butonları içeren listeyi dikey hale getir */
    .footer-links {
        flex-direction: column;
        align-items: center; /* Butonları ortala */
        gap: 0; /* Gap'i tamamen iptal et, margin kullanacağız */
    }
    /* HER BİR LİSTE ELEMANINA (BUTONA) DOĞRUDAN STİL UYGULA */
    .footer-links li {
        width: 90%;
        max-width: 350px;
        list-style-type: none; /* Liste noktalarını kaldır */
        margin-bottom: 1rem; /* ALT ALTA BOŞLUK İÇİN EN GARANTİLİ YÖNTEM */
    }
    /* SON BUTONUN ALTINDAKİ GEREKSİZ BOŞLUĞU KALDIR */
    .footer-links li:last-child {
        margin-bottom: 0;
    }
    /* Linklerin (a) kendi kapsayıcısını (li) tamamen doldurmasını sağla */
    .footer-links a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 0.9rem;
        margin-bottom: 0 !important; /* Başka bir yerden gelen margin'i ez */
    }
}
.login-button.products {
    background: linear-gradient(135deg, #f87171, #ef4444);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(248, 113, 113, 0.5), 0 5px 20px rgba(0,0,0,0.3);
    animation: glow 2s infinite alternate;
}
@keyframes glow {
    from {
        box-shadow: 0 0 15px rgba(248, 113, 113, 0.4), 0 5px 20px rgba(0,0,0,0.2);
    }
    to {
        box-shadow: 0 0 30px rgba(248, 113, 113, 0.7), 0 5px 25px rgba(0,0,0,0.4);
    }
}
.product-card {
    background: var(--surface-solid);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-glow);
    animation: cardFloat 4s ease-in-out infinite;
}
body.theme-light .product-card {
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}
body.theme-cream .product-card {
    background: var(--surface-solid);
    backdrop-filter: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05), var(--shadow-glow);
}
body.theme-winter .product-card {
    backdrop-filter: blur(5px);
    box-shadow: 0 3px 12px rgba(0,0,0,0.04), var(--shadow-glow);
}
.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.3);
}
body.theme-light .product-card:hover {
    box-shadow: 0 12px 40px rgba(0, 255, 255, 0.4);
}
body.theme-cream .product-card:hover {
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
}
body.theme-winter .product-card:hover {
    box-shadow: 0 6px 18px rgba(52, 152, 219, 0.15);
}
.product-card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--surface);
    position: relative;
    overflow: hidden;
}
.product-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
    transition: var(--transition);
}
body.theme-light .product-card-image::before {
    background: linear-gradient(180deg, rgba(0, 255, 255, 0.2) 0%, transparent 50%);
}
body.theme-cream .product-card-image::before {
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}
body.theme-winter .product-card-image::before {
    background: linear-gradient(180deg, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
}
.product-card:hover .product-card-image::before {
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.3) 0%, transparent 70%);
}
body.theme-light .product-card:hover .product-card-image::before {
    background: linear-gradient(180deg, rgba(0, 255, 255, 0.4) 0%, transparent 70%);
}
body.theme-cream .product-card:hover .product-card-image::before {
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
}
body.theme-winter .product-card:hover .product-card-image::before {
    background: linear-gradient(180deg, rgba(52, 152, 219, 0.2) 0%, transparent 70%);
}
.product-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: var(--surface);
    backdrop-filter: blur(10px);
}
body.theme-light .product-card-content {
    backdrop-filter: blur(20px);
}
body.theme-cream .product-card-content {
    background: var(--surface);
    backdrop-filter: none;
}
body.theme-winter .product-card-content {
    backdrop-filter: blur(5px);
}
.product-card-content h3 {
    margin: 0 0 0.75rem;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(96, 165, 250, 0.3);
}
body.theme-light .product-card-content h3 {
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}
body.theme-cream .product-card-content h3 {
    color: #333333; /* Cream theme'de ürün başlığı için koyu renk */
    text-shadow: none;
}
body.theme-winter .product-card-content h3 {
    color: #2c3e50;
    text-shadow: none;
}
.product-card-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}
body.theme-cream .product-card-price {
    color: #333333; /* Cream theme'de fiyat için koyu renk */
}
body.theme-winter .product-card-price {
    color: #2c3e50;
}
.product-card-price:hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.4);
}
body.theme-light .product-card-price:hover {
    text-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
}
body.theme-cream .product-card-price:hover {
    text-shadow: none;
}
body.theme-winter .product-card-price:hover {
    text-shadow: none;
}
.product-card-actions {
    margin-top: auto;
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.product-card-actions .action-button {
    padding: 10px 20px;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: var(--background);
    border-radius: 8px;
}
body.theme-light .product-card-actions .action-button {
    background: linear-gradient(135deg, var(--primary), #00cccc);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}
body.theme-cream .product-card-actions .action-button {
    background: linear-gradient(135deg, var(--primary), #b8942f);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}
body.theme-winter .product-card-actions .action-button {
    background: linear-gradient(135deg, var(--primary), #2980b9);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.15);
}
#detail-product-content .product-image-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    scroll-snap-type: x mandatory;
}
#detail-product-content .product-image-slider img {
    height: 180px;
    border-radius: 10px;
    border: 2px solid var(--border);
    transition: var(--transition);
    scroll-snap-align: center;
    object-fit: cover;
}
#detail-product-content .product-image-slider img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(96, 165, 250, 0.3);
}
body.theme-light #detail-product-content .product-image-slider img:hover {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
}
body.theme-cream #detail-product-content .product-image-slider img:hover {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}
body.theme-winter #detail-product-content .product-image-slider img:hover {
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.15);
}
#detail-product-content .product-video-container {
    margin: 2rem 0;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}
#detail-product-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}
#detail-product-content iframe:hover {
    box-shadow: 0 0 25px rgba(96, 165, 250, 0.3);
}
body.theme-light #detail-product-content iframe:hover {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
}
body.theme-cream #detail-product-content iframe:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}
body.theme-winter #detail-product-content iframe:hover {
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.15);
}
@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
body.theme-light @keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
body.theme-cream @keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
body.theme-winter @keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-9px); }
}
body.theme-cream .login-button.products {
    color: #333333; /* Cream theme'de Ürünler yazısı için koyu renk */
}
body.theme-winter .login-button.products {
    color: #2c3e50;
}
#image-lightbox-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10005;
}
body.theme-light #image-lightbox-modal {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
}
body.theme-cream #image-lightbox-modal {
    background: rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(6px);
}
body.theme-winter #image-lightbox-modal {
    background: rgba(52, 152, 219, 0.15);
    backdrop-filter: blur(7px);
}
#lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--border);
}
body.theme-light #lightbox-image {
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.3);
}
body.theme-cream #lightbox-image {
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
}
body.theme-winter #lightbox-image {
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
}
.close-lightbox-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    z-index: 10006;
}
body.theme-light .close-lightbox-btn {
    color: #00cccc;
}
body.theme-cream .close-lightbox-btn {
    color: #333333;
}
body.theme-winter .close-lightbox-btn {
    color: #2c3e50;
}
.close-lightbox-btn:hover {
    transform: scale(1.1) rotate(90deg);
    color: var(--error);
}
body.theme-light .close-lightbox-btn:hover {
    color: #ff3333;
}
body.theme-cream .close-lightbox-btn:hover {
    color: #b8942f;
}
body.theme-winter .close-lightbox-btn:hover {
    color: #c0392b;
}
#byauth-chat-bubble {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, var(--primary), #3b82f6, #ec4899);
    color: var(--background);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-glow), 0 0 20px rgba(96, 165, 250, 0.3);
    transition: var(--transition);
    z-index: 10000;
    animation: bubble-float 3s ease-in-out infinite, glow-pulse 2s ease-in-out infinite alternate;
    border: 2px solid var(--border);
    filter: hue-rotate(0deg);
}
#byauth-chat-bubble::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--primary), #3b82f6, #ec4899);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(20px);
}
#byauth-chat-bubble:hover::before {
    opacity: 1;
}
#byauth-chat-bubble:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 48px rgba(96, 165, 250, 0.6), 0 0 30px rgba(96, 165, 250, 0.5);
    animation: none;
    filter: hue-rotate(360deg);
}
body.theme-light #byauth-chat-bubble {
    background: linear-gradient(135deg, var(--primary), #00cccc, #ff00ff);
    box-shadow: var(--shadow-glow), 0 0 25px rgba(0, 255, 255, 0.4);
    border: 2px solid var(--border);
}
body.theme-light #byauth-chat-bubble:hover {
    box-shadow: 0 12px 48px rgba(0, 255, 255, 0.6), 0 0 40px rgba(0, 255, 255, 0.6);
}
body.theme-cream #byauth-chat-bubble {
    background: linear-gradient(135deg, var(--primary), #b8942f, #ffb74d);
    box-shadow: var(--shadow-glow), 0 0 15px rgba(212, 175, 55, 0.3);
    border: 2px solid var(--border);
}
body.theme-cream #byauth-chat-bubble:hover {
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.4), 0 0 25px rgba(212, 175, 55, 0.4);
}
body.theme-winter #byauth-chat-bubble {
    background: linear-gradient(135deg, var(--primary), #2980b9, #3498db);
    box-shadow: var(--shadow-glow), 0 0 15px rgba(52, 152, 219, 0.3);
    border: 2px solid var(--border);
}
body.theme-winter #byauth-chat-bubble:hover {
    box-shadow: 0 8px 32px rgba(52, 152, 219, 0.4), 0 0 25px rgba(52, 152, 219, 0.4);
}
@keyframes bubble-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
@keyframes glow-pulse {
    0% { box-shadow: var(--shadow-glow), 0 0 20px rgba(96, 165, 250, 0.3); }
    100% { box-shadow: var(--shadow-glow), 0 0 40px rgba(96, 165, 250, 0.6); }
}
.chat-bubble-text {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--surface-solid);
    color: var(--text);
    padding: 10px 18px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    animation: text-float 2s ease-in-out infinite;
}
body.theme-light .chat-bubble-text {
    background: rgba(255, 255, 255, 0.95);
}
body.theme-cream .chat-bubble-text {
    background: var(--surface-solid);
}
body.theme-winter .chat-bubble-text {
    background: var(--surface-solid);
}
@keyframes text-float {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(-5px); }
}
#byauth-chat-bubble:hover .chat-bubble-text {
    opacity: 1;
    visibility: visible;
    right: 85px;
    animation: slide-in 0.4s ease-out;
}
@keyframes slide-in {
    from { transform: translateY(-50%) translateX(20px); opacity: 0; }
    to { transform: translateY(-50%) translateX(0); opacity: 1; }
}
#byauth-chat-panel {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 380px;
    max-width: 90vw;
    height: 520px;
    max-height: 80vh;
    background: var(--surface);
    backdrop-filter: blur(25px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-glow), 0 0 30px rgba(96, 165, 250, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 10001;
    transform-origin: bottom right;
    transition: var(--transition);
    animation: panel-glow 3s ease-in-out infinite alternate;
}
body.theme-light #byauth-chat-panel {
    backdrop-filter: blur(30px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-glow), 0 0 40px rgba(0, 255, 255, 0.3);
}
body.theme-cream #byauth-chat-panel {
    background: var(--surface);
    backdrop-filter: none;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-glow), 0 0 20px rgba(212, 175, 55, 0.2);
}
body.theme-winter #byauth-chat-panel {
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-glow), 0 0 20px rgba(52, 152, 219, 0.2);
}
@keyframes panel-glow {
    0% { box-shadow: var(--shadow-glow), 0 0 30px rgba(96, 165, 250, 0.2); }
    100% { box-shadow: var(--shadow-glow), 0 0 50px rgba(96, 165, 250, 0.4); }
}
#byauth-chat-panel.hidden {
    transform: scale(0.8) translateY(30px) rotate(-5deg);
    opacity: 0;
    pointer-events: none;
}
#byauth-chat-panel:not(.hidden) {
    animation: panel-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), panel-glow 3s ease-in-out infinite alternate 0.6s;
}
@keyframes panel-pop {
    0% { transform: scale(0.8) translateY(30px) rotate(-5deg); opacity: 0; }
    100% { transform: scale(1) translateY(0) rotate(0); opacity: 1; }
}
.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    background: var(--surface-solid);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.chat-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: shimmer 2s infinite;
}
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.chat-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 0 5px rgba(96, 165, 250, 0.3);
}
#close-chat-btn {
    background: none;
    border: none;
    color: var(--subtext);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
    border-radius: 50%;
    position: relative;
}
#close-chat-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--error), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}
#close-chat-btn:hover {
    color: var(--error);
    transform: rotate(180deg) scale(1.1);
    text-shadow: 0 0 10px var(--error);
}
#close-chat-btn:hover::before {
    width: 40px;
    height: 40px;
}
.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--surface);
}
.chat-messages::-webkit-scrollbar {
    width: 6px;
}
.chat-messages::-webkit-scrollbar-track {
    background: var(--surface);
}
.chat-messages::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(96, 165, 250, 0.5);
}
.chat-message {
    padding: 1rem 1.2rem;
    border-radius: 20px;
    max-width: 85%;
    line-height: 1.6;
    word-wrap: break-word;
    animation: message-slide 0.4s ease-out;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.chat-message:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
@keyframes message-slide {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.ai-message {
    background: var(--surface-solid);
    border-top-left-radius: 5px;
    align-self: flex-start;
    border: 1px solid var(--border);
}
.user-message {
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: var(--background);
    border-top-right-radius: 5px;
    align-self: flex-end;
    box-shadow: var(--shadow-glow);
}
body.theme-light .user-message {
    background: linear-gradient(135deg, var(--primary), #00cccc);
}
body.theme-cream .user-message {
    background: linear-gradient(135deg, var(--primary), #b8942f);
}
body.theme-winter .user-message {
    background: linear-gradient(135deg, var(--primary), #2980b9);
}
.chat-input-form {
    display: flex;
    padding: 1.2rem;
    border-top: 1px solid var(--border);
    background: var(--surface-solid);
    gap: 1rem;
    position: relative;
}
#chat-input {
    resize: none; /* Kullanıcının manuel olarak boyutlandırmasını engelle */
    overflow-y: hidden; /* Dikey scrollbar'ı başlangıçta gizle */
    box-sizing: border-box;
    line-height: 1.5; /* Metnin dikeyde ortalanmasına yardımcı olur */
    min-height: 48px; /* Gönder butonunun yüksekliği ile aynı */
    max-height: 120px; /* Çok fazla büyümesini engellemek için limit */
    padding: 12px 18px;
    display: flex;
    align-items: center;
}
.chat-bubble-persistent-label {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    background: var(--surface-solid);
    color: var(--text);
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    visibility: visible;
    animation: label-float 3s ease-in-out infinite;
    z-index: 10000;
}

@keyframes label-float {
    0%, 100% {
        transform: translate(-50%, 0px);
    }
    50% {
        transform: translate(-50%, -5px);
    }
}

#byauth-chat-bubble:hover .chat-bubble-persistent-label,
#byauth-chat-bubble.panel-is-open .chat-bubble-persistent-label {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
}
#chat-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.15), var(--shadow-glow);
}
#chat-input::placeholder {
    color: var(--subtext);
}
.ai-message ul {
    padding-left: 20px;
    margin: 0.5rem 0 0 0;
}

.ai-message li {
    margin-bottom: 0.25rem;
}
#chat-send-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: var(--background);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: send-pulse 2s infinite;
}
@keyframes send-pulse {
    0% { box-shadow: var(--shadow-glow); }
    50% { box-shadow: 0 0 20px rgba(96, 165, 250, 0.6); }
    100% { box-shadow: var(--shadow-glow); }
}
#chat-send-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}
#chat-send-btn:hover::before {
    left: 100%;
}
#chat-send-btn:hover {
    transform: scale(1.15) rotate(360deg);
    box-shadow: var(--shadow-glow), 0 0 25px rgba(96, 165, 250, 0.6);
}
body.theme-light #chat-send-btn {
    background: linear-gradient(135deg, var(--primary), #00cccc);
}
body.theme-cream #chat-send-btn {
    background: linear-gradient(135deg, var(--primary), #b8942f);
}
body.theme-winter #chat-send-btn {
    background: linear-gradient(135deg, var(--primary), #2980b9);
}
#chat-send-btn:disabled {
    background: var(--subtext);
    cursor: not-allowed;
    transform: none;
    animation: none;
}
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 1rem;
    background: var(--surface-solid);
    border-radius: 20px;
    border-top-left-radius: 5px;
    box-shadow: var(--shadow);
    animation: typing-wave 1s ease-in-out infinite;
}
@keyframes typing-wave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}
.typing-indicator span {
    height: 10px;
    width: 10px;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    border-radius: 50%;
    display: inline-block;
    animation: typing-glow 1.4s infinite ease-in-out both;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}
body.theme-light .typing-indicator span {
    background: linear-gradient(135deg, var(--primary), #00cccc);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}
body.theme-cream .typing-indicator span {
    background: linear-gradient(135deg, var(--primary), #b8942f);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}
body.theme-winter .typing-indicator span {
    background: linear-gradient(135deg, var(--primary), #2980b9);
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.4);
}
.typing-indicator span:nth-of-type(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-of-type(2) { animation-delay: -0.16s; }
.typing-indicator span:nth-of-type(3) { animation-delay: 0s; }
@keyframes typing-glow {
    0%, 80%, 100% {
        transform: scale(0.5);
        opacity: 0.5;
        box-shadow: 0 0 5px rgba(96, 165, 250, 0.3);
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 20px rgba(96, 165, 250, 0.8);
    }
}