/* Sezginler.net - Gezginler Tarzı Kompakt CSS */
:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #64748b;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --border-radius: 4px;
    --transition: all 0.15s ease;
}

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

body {
    font-family: Verdana, Arial, sans-serif;
    font-size: 11px;
    line-height: 1.4;
    color: var(--dark-color);
    background: #f8f9fa;
}

/* Ultra Kompakt Typography */
h1 { font-size: 14px; font-weight: bold; margin-bottom: 8px; }
h2 { font-size: 13px; font-weight: bold; margin-bottom: 6px; }
h3 { font-size: 12px; font-weight: bold; margin-bottom: 4px; }
h4 { font-size: 11px; font-weight: bold; margin-bottom: 4px; }

p { margin-bottom: 6px; font-size: 11px; }

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 8px;
}

/* Ultra Kompakt Header */
.header {
    background: #1e40af;
    color: white;
    height: 35px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.navbar {
    display: flex;
    align-items: center;
    height: 35px;
    justify-content: space-between;
    padding: 0 8px;
}

.logo {
    font-size: 12px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 12px;
    margin: 0;
}

.nav-link {
    color: #e0e7ff;
    text-decoration: none;
    font-size: 10px;
    padding: 4px 6px;
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

/* Gezginler Tarzı Butonlar */
.btn {
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid #ccc;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    font-size: 10px;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: #e9ecef;
    text-decoration: none;
}

.btn-primary {
    background: #1e40af;
    color: white;
    border-color: #1e40af;
}

.btn-primary:hover {
    background: #1e3a8a;
    color: white;
}

.btn-sm {
    padding: 2px 6px;
    font-size: 9px;
}

/* Gezginler Tarzı Kartlar */
.card {
    background: white;
    border: 1px solid #e5e7eb;
    margin-bottom: 8px;
}

.card-header {
    background: #f3f4f6;
    padding: 6px 8px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 11px;
    font-weight: bold;
}

.card-body {
    padding: 8px;
}

/* Grid Sistemi */
.row {
    display: flex;
    margin: 0 -4px;
}

.col {
    padding: 0 4px;
}

.col-2 { width: 16.666%; }
.col-3 { width: 25%; }
.col-4 { width: 33.333%; }
.col-6 { width: 50%; }
.col-8 { width: 66.666%; }
.col-9 { width: 75%; }
.col-10 { width: 83.333%; }

/* Gezginler Tarzı Ana İçerik */
.main-content {
    margin-top: 35px;
    padding: 8px 0;
}

.content-wrapper {
    display: flex;
    gap: 8px;
}

.sidebar {
    width: 180px;
    flex-shrink: 0;
}

.main-area {
    flex: 1;
    min-width: 0;
}

/* Sidebar Menü */
.sidebar-menu {
    background: white;
    border: 1px solid #e5e7eb;
    margin-bottom: 8px;
}

.sidebar-header {
    background: #1e40af;
    color: white;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: bold;
}

.sidebar-item {
    display: block;
    padding: 4px 8px;
    color: #374151;
    text-decoration: none;
    font-size: 10px;
    border-bottom: 1px solid #f3f4f6;
    transition: var(--transition);
}

.sidebar-item:hover {
    background: #f3f4f6;
    text-decoration: none;
}

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

/* Gezginler Tarzı Tablo */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border: 1px solid #e5e7eb;
    font-size: 10px;
}

.data-table th {
    background: #f3f4f6;
    padding: 4px 6px;
    border: 1px solid #e5e7eb;
    font-size: 10px;
    font-weight: bold;
    text-align: left;
}

.data-table td {
    padding: 4px 6px;
    border: 1px solid #e5e7eb;
    font-size: 10px;
}

.data-table tr:nth-child(even) {
    background: #f9fafb;
}

.data-table tr:hover {
    background: #eff6ff;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 10px;
    color: #6b7280;
    margin-bottom: 8px;
    padding: 4px 0;
}

.breadcrumb a {
    color: #1e40af;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Stats Box */
.stats-box {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 6px;
    text-align: center;
    margin-bottom: 8px;
}

.stats-number {
    font-size: 14px;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 2px;
}

.stats-label {
    font-size: 9px;
    color: #6b7280;
}

/* Program Listesi */
.program-row {
    background: white;
    border: 1px solid #e5e7eb;
    margin-bottom: 2px;
    padding: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.program-row:hover {
    background: #f3f4f6;
}

.program-icon {
    width: 24px;
    height: 24px;
    background: #1e40af;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    flex-shrink: 0;
}

.program-info {
    flex: 1;
    min-width: 0;
}

.program-name {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 2px;
    color: #1e40af;
}

.program-desc {
    font-size: 9px;
    color: #6b7280;
    margin-bottom: 2px;
}

.program-meta {
    font-size: 8px;
    color: #9ca3af;
}

.program-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

/* Platform Badge */
.platform-badge {
    display: inline-block;
    padding: 1px 4px;
    font-size: 8px;
    font-weight: bold;
    border-radius: 2px;
    text-transform: uppercase;
}

.platform-windows {
    background: #dbeafe;
    color: #1e40af;
}

.platform-android {
    background: #dcfce7;
    color: #059669;
}

.platform-downloads {
    background: #fef3c7;
    color: #d97706;
}

/* Formlar */
.form-control {
    padding: 2px 4px;
    border: 1px solid #d1d5db;
    font-size: 10px;
    border-radius: 2px;
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: #1e40af;
}

.form-group {
    margin-bottom: 6px;
}

.form-label {
    display: block;
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 2px;
}

/* Search Box */
.search-box {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 6px;
    margin-bottom: 8px;
}

.search-input {
    width: 100%;
    padding: 3px 6px;
    font-size: 10px;
    border: 1px solid #d1d5db;
    border-radius: 2px;
}

/* Footer */
.footer {
    background: #374151;
    color: #d1d5db;
    padding: 12px 0;
    margin-top: 16px;
    font-size: 9px;
    text-align: center;
}

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-small { font-size: 9px; }
.text-muted { color: #6b7280; }

.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }

.p-1 { padding: 4px; }
.p-2 { padding: 8px; }

/* Responsive - Mobil için */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        order: 2;
    }
    
    .main-area {
        order: 1;
    }
    
    .nav-menu {
        display: none;
    }
    
    .program-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .program-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Gezginler Renkli Linkler */
a {
    color: #1e40af;
    text-decoration: none;
}

a:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

/* Alert mesajları */
.alert {
    padding: 6px;
    margin-bottom: 8px;
    border: 1px solid;
    border-radius: 2px;
    font-size: 10px;
}

.alert-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.alert-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

/* Loading */
.loading {
    width: 12px;
    height: 12px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #1e40af;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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