/* CSS Variables - Admin Paneli ile Aynı */

:root {
    /* Ana Renkler */
    --primary: #14b8a6;
    --primary-dark: #0f766e;
    --primary-light: #2dd4bf;
    --primary-glow: rgba(20, 184, 166, 0.3);

    --secondary: #0d9488;
    --secondary-dark: #115e59;
    --secondary-glow: rgba(13, 148, 136, 0.3);
    
    --success: #14b8a6;
    --success-dark: #0f766e;
    --success-glow: rgba(20, 184, 166, 0.3);
    
    --warning: #f59e0b;
    --warning-dark: #d97706;
    
    --danger: #ef4444;
    --danger-dark: #dc2626;
    
    --info: #06b6d4;
    --info-dark: #0891b2;
    
    /* Arka Planlar */
    --bg-dark: #0f1419;
    --bg-darker: #0a0e13;
    --bg-card: #1a2e2a;
    --bg-hover: rgba(20, 184, 166, 0.1);
    --bg-sidebar: linear-gradient(180deg, #1e3a35 0%, #1a2e2a 100%);
    
    /* Metin Renkleri */
    --text-primary: #ffffff;
    --text-secondary: #8b9cbc;
    --text-muted: #6b7280;
    --text-dark: #1f2937;
    
    /* Kenarlıklar */
    --border: rgba(20, 184, 166, 0.2);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-dark: rgba(0, 0, 0, 0.2);
    
    /* Gölgeler */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px var(--primary-glow);
    
    /* Geçişler */
    --transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
    --transition-fast: all 0.15s ease;
    
    /* Boyutlar */
    --sidebar-width: 280px;
    --sidebar-width-mobile: 280px;
    --topbar-height: 75px;
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --border-radius-lg: 20px;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

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

/* Content Protection - Metin seçimi engelleme */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;

    /* Metin seçimi engelleme - Tüm tarayıcılar */
    -webkit-user-select: none; /* Chrome, Safari, Opera */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE 10+, Edge */
    user-select: none;         /* Standart */

    /* Sürükle-bırak engelleme */
    -webkit-user-drag: none;
    -moz-user-drag: none;
    user-drag: none;
}

/* Input ve textarea'da metin seçimine izin ver */
input,
textarea,
[contenteditable="true"] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* Görsel koruma */
img,
video {
    pointer-events: auto;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none; /* iOS'ta uzun basma menüsünü engelle */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
}

input, textarea, select {
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}
