/* =====================================================
   DALTON PANEL - ANA TEMA CSS
   Turuncu/Altın renk paleti + Matrix arka plan
===================================================== */

:root {
    --primary: #FF8C00;
    --primary-dark: #CC7000;
    --primary-light: #FFB347;
    --secondary: #1a1a2e;
    --dark: #0d0d1a;
    --darker: #050510;
    --success: #00C853;
    --danger: #FF1744;
    --warning: #FFD600;
    --info: #00B8D4;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-muted: #666666;
    --border-color: #2a2a4a;
    --card-bg: rgba(26, 26, 46, 0.95);
    --input-bg: #12121f;
    --matrix-green: #00FF41;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--darker);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Matrix Arka Plan Canvas */
#matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
}

/* =====================================================
   SCROLLBAR STİLİ
===================================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

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

/* =====================================================
   GENEL YARDIMCI SINIFLAR
===================================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* =====================================================
   HEADER
===================================================== */
.header {
    background: linear-gradient(180deg, var(--secondary) 0%, var(--dark) 100%);
    border-bottom: 2px solid var(--primary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.5));
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 140, 0, 0.3);
}

.header-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.datetime {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 8px 15px;
    background: var(--dark);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
}

.user-name {
    font-weight: 600;
    color: var(--primary-light);
}

.btn-logout {
    background: linear-gradient(135deg, var(--danger) 0%, #CC1136 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 23, 68, 0.4);
}

/* =====================================================
   İSTATİSTİK KARTLARI
===================================================== */
.stats-section {
    padding: 30px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(13, 13, 26, 0.95) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(255, 140, 0, 0.2);
}

.stat-card.success::before {
    background: linear-gradient(90deg, var(--success) 0%, #00E676 100%);
}

.stat-card.warning::before {
    background: linear-gradient(90deg, var(--warning) 0%, #FFEA00 100%);
}

.stat-card.info::before {
    background: linear-gradient(90deg, var(--info) 0%, #18FFFF 100%);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-card.success .stat-value { color: var(--success); }
.stat-card.warning .stat-value { color: var(--warning); }
.stat-card.info .stat-value { color: var(--info); }

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =====================================================
   DUYURU BANNER
===================================================== */
.announcement-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 20px;
    text-align: center;
    margin: 20px auto;
    max-width: 1360px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(255, 140, 0, 0.3);
}

.announcement-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.announcement-text {
    font-size: 0.95rem;
    opacity: 0.9;
}

.announcement-phone {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.announcement-phone a {
    color: white;
    text-decoration: none;
}

/* =====================================================
   ARAMA KUTUSU
===================================================== */
.search-section {
    max-width: 600px;
    margin: 20px auto;
    padding: 0 20px;
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    background: var(--input-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.2);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.btn-search {
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.4);
}

/* =====================================================
   TAB MENÜ
===================================================== */
.tab-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.tab-menu {
    display: flex;
    gap: 0;
    background: var(--secondary);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-bottom: none;
}

.tab-btn {
    flex: 1;
    padding: 18px 25px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(255, 140, 0, 0.1);
    color: var(--primary-light);
}

.tab-btn.active {
    background: var(--dark);
    color: var(--primary);
}

.tab-btn.active::after {
    background: var(--primary);
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0 0 12px 12px;
    min-height: 400px;
}

.tab-pane {
    display: none;
    padding: 25px;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   FORM STİLLERİ
===================================================== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-label .required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--input-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.15);
}

.form-control::placeholder {
    color: var(--text-muted);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23FF8C00' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.input-group {
    display: flex;
    align-items: stretch;
}

.input-group .form-control {
    border-radius: 8px 0 0 8px;
}

.input-group-text {
    padding: 12px 16px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
}

/* Platform Seçimi */
.platform-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.platform-checkbox {
    display: none;
}

.platform-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    background: var(--input-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.platform-label:hover {
    border-color: var(--primary);
    background: rgba(255, 140, 0, 0.1);
}

.platform-checkbox:checked + .platform-label {
    border-color: var(--primary);
    background: rgba(255, 140, 0, 0.2);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
}

.platform-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
}

.platform-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.platform-checkbox:checked + .platform-label .platform-name {
    color: var(--primary);
}

/* Platform Formları */
.platform-form {
    display: none;
    padding: 25px;
    background: var(--dark);
    border-radius: 12px;
    margin-top: 20px;
    border: 1px solid var(--border-color);
    animation: slideDown 0.3s ease;
}

.platform-form.active {
    display: block;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.platform-form-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.platform-form-header img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.platform-form-header h3 {
    font-size: 1.3rem;
    color: var(--primary);
}

/* =====================================================
   BUTONLAR
===================================================== */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(255, 140, 0, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #00A844 100%);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(0, 200, 83, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #CC1136 100%);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(255, 23, 68, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning) 0%, #CCAA00 100%);
    color: var(--dark);
}

.btn-info {
    background: linear-gradient(135deg, var(--info) 0%, #0095A8 100%);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* =====================================================
   TABLO STİLLERİ
===================================================== */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.data-table thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.data-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.data-table tbody tr:hover {
    background: rgba(255, 140, 0, 0.1);
}

.data-table td {
    padding: 15px 12px;
    font-size: 0.95rem;
    vertical-align: middle;
}

.data-table .product-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.data-table .actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Durum Badge'leri */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.badge-success {
    background: rgba(0, 200, 83, 0.2);
    color: var(--success);
    border: 1px solid var(--success);
}

.badge-danger {
    background: rgba(255, 23, 68, 0.2);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.badge-warning {
    background: rgba(255, 214, 0, 0.2);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.badge-info {
    background: rgba(0, 184, 212, 0.2);
    color: var(--info);
    border: 1px solid var(--info);
}

/* =====================================================
   LOG SAYFASI
===================================================== */
.log-container {
    background: var(--dark);
    border-radius: 12px;
    padding: 20px;
    max-height: 500px;
    overflow-y: auto;
}

.log-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--input-bg);
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.log-item:hover {
    background: rgba(255, 140, 0, 0.1);
}

.log-item.sahibinden { border-left-color: #FF6B00; }
.log-item.dolap { border-left-color: #E91E63; }
.log-item.letgo { border-left-color: #00BCD4; }
.log-item.pttavm { border-left-color: #FFC107; }
.log-item.turkcell { border-left-color: #FFD600; }
.log-item.shopier { border-left-color: #9C27B0; }

.log-time {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.log-platform {
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.log-platform.sahibinden { background: rgba(255, 107, 0, 0.2); color: #FF6B00; }
.log-platform.dolap { background: rgba(233, 30, 99, 0.2); color: #E91E63; }
.log-platform.letgo { background: rgba(0, 188, 212, 0.2); color: #00BCD4; }
.log-platform.pttavm { background: rgba(255, 193, 7, 0.2); color: #FFC107; }
.log-platform.turkcell { background: rgba(255, 214, 0, 0.2); color: #FFD600; }
.log-platform.shopier { background: rgba(156, 39, 176, 0.2); color: #9C27B0; }

.log-content {
    flex: 1;
}

.log-product {
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 3px;
}

.log-details {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.log-ip {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: monospace;
}

.log-status {
    font-size: 1.2rem;
}

.log-status.online { color: var(--success); }
.log-status.offline { color: var(--danger); }

/* =====================================================
   VERİLER SAYFASI
===================================================== */
.data-card {
    background: var(--dark);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.data-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.data-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

/* =====================================================
   GİRİŞ SAYFASI
===================================================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 420px;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo img {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 140, 0, 0.5));
}

.login-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-form .form-group {
    margin-bottom: 25px;
}

.login-form .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.login-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* =====================================================
   MODAL
===================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.modal-close {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--input-bg);
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--danger);
    color: white;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

/* =====================================================
   ALERT / BİLDİRİM
===================================================== */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(0, 200, 83, 0.15);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-danger {
    background: rgba(255, 23, 68, 0.15);
    border: 1px solid var(--danger);
    color: var(--danger);
}

.alert-warning {
    background: rgba(255, 214, 0, 0.15);
    border: 1px solid var(--warning);
    color: var(--warning);
}

.alert-info {
    background: rgba(0, 184, 212, 0.15);
    border: 1px solid var(--info);
    color: var(--info);
}

/* =====================================================
   FOOTER
===================================================== */
.footer {
    background: var(--secondary);
    border-top: 1px solid var(--border-color);
    padding: 20px;
    text-align: center;
    margin-top: 40px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-text span {
    color: var(--primary);
    font-weight: 600;
}

/* =====================================================
   RESPONSİVE TASARIM
===================================================== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-menu {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 1 50%;
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    .platform-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .data-table th,
    .data-table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-btn {
        flex: 1 1 100%;
    }
    
    .login-container {
        padding: 25px;
    }
}

/* =====================================================
   ANİMASYONLAR
===================================================== */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 140, 0, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 140, 0, 0.6); }
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 16, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}
