:root {
    --primary-color: #00d4ff;
    --primary-dark: #00a8cc;
    --secondary-color: #7c3aed;
    --bg-dark: #0a0a1a;
    --bg-darker: #050510;
    --bg-card: #12122a;
    --bg-card-hover: #1a1a3a;
    --text-primary: #ffffff;
    --text-secondary: #d0d0e0;
    --text-muted: #c0c8d0;
    --border-color: #2a2a4a;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    padding-top: 70px;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

.navbar {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-card) 100%);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.eagle-logo {
    color: var(--primary-color);
}

.brand-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-secondary) !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0 0.25rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(0, 212, 255, 0.1);
}

.navbar-status {
    background: rgba(34, 197, 94, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success-color);
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    font-size: 0.875rem;
    color: var(--success-color);
}

.main-content {
    min-height: calc(100vh - 140px);
}

.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 1rem 0;
    color: var(--text-muted);
}

.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-darker) 0%, #0d1b2a 50%, var(--bg-dark) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-eagle {
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.5));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
}

.features-section, .stats-section, .recent-section, .cta-section {
    background: var(--bg-dark);
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.feature-icon.satellite {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 168, 204, 0.1));
    color: var(--primary-color);
}

.feature-icon.gpr {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(99, 47, 189, 0.1));
    color: var(--secondary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.feature-list i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.stat-card.warning {
    border-color: rgba(245, 158, 11, 0.3);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-icon.active-pulse {
    animation: pulse 1.5s infinite;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

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

.mission-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.mission-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
}

.mission-id {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: var(--text-secondary);
}

.mission-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.status-pending { background: rgba(107, 114, 128, 0.2); color: #9ca3af; }
.status-analyzing { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.status-disturbance_detected { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.status-clear { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.status-gpr_analyzed { background: rgba(0, 212, 255, 0.2); color: #00d4ff; }

.mission-body {
    padding: 1rem;
}

.coordinates {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.coordinates i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.location-name {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.mission-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mission-date i {
    margin-right: 0.25rem;
}

.mission-footer {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.cta-section {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-darker) 100%);
    border-top: 1px solid var(--border-color);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.dashboard-card .card-header {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
}

.dashboard-card .card-header h5 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.dashboard-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-icon-wrapper.blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.stat-icon-wrapper.green { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.stat-icon-wrapper.cyan { background: rgba(0, 212, 255, 0.2); color: #00d4ff; }
.stat-icon-wrapper.orange { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }

.stat-content .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.2;
}

.stat-content .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mission-list {
    max-height: 400px;
    overflow-y: auto;
}

.mission-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.mission-list-item:hover {
    background: var(--bg-card-hover);
}

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

.mission-list-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.mission-list-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    font-weight: 600;
}

.mission-list-coords {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.mission-list-date {
    font-size: 0.625rem;
    color: var(--text-muted);
}

.table {
    color: var(--text-primary);
    margin-bottom: 0;
}

.table th {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    padding: 1rem;
}

.table td {
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    vertical-align: middle;
}

.table tbody tr:hover {
    background: var(--bg-card-hover);
}

.status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.status-badge-lg {
    font-size: 1rem;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-weight: 600;
}

.help-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.help-list li:last-child {
    border-bottom: none;
}

.help-list i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

.form-control, .form-select {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.form-control:focus, .form-select:focus {
    background: var(--bg-darker);
    border-color: var(--primary-color);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

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

.input-group-text {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-text {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-dark);
}

.btn-outline-secondary {
    color: var(--text-secondary);
    border-color: var(--border-color);
}

.btn-outline-secondary:hover {
    background: var(--border-color);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-outline-danger {
    color: var(--danger-color);
    border-color: var(--danger-color);
}

.btn-outline-danger:hover {
    background: var(--danger-color);
    border-color: var(--danger-color);
    color: #fff;
}

.info-table th {
    color: white;
    font-weight: 500;
    padding: 0.75rem 0;
    width: 40%;
    background: transparent;
}

.info-table td {
    color: #1a1a1a;
    padding: 0.75rem 0;
    background: #f5f5f5;
    border-radius: 4px;
    padding-left: 0.5rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: -2rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.timeline-item.completed .timeline-icon {
    background: var(--success-color);
    border-color: var(--success-color);
    color: #fff;
}

.timeline-item.active .timeline-icon {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-dark);
}

.timeline-content h6 {
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: white;
}

.timeline-content small {
    font-size: 0.75rem;
    color: white;
}

.gpr-analysis-card {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.gpr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.gpr-filename {
    font-size: 0.875rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 150px;
}

.gpr-risk {
    font-size: 0.625rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.risk-yuksek_tehlike, .gpr-risk.risk-yuksek_tehlike {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.risk-riskli, .gpr-risk.risk-riskli {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.risk-temiz, .gpr-risk.risk-temiz {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.gpr-body {
    padding: 1rem;
}

.confidence-meter {
    margin-bottom: 1rem;
}

.confidence-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.confidence-bar {
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    transition: width 0.5s ease;
}

.confidence-value {
    font-size: 0.875rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: var(--text-primary);
}

.gpr-detection {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0;
}

.gpr-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border-color);
}

.upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-zone:hover, .upload-zone.drag-over {
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.05);
}

.upload-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upload-zone h4 {
    margin-bottom: 0.5rem;
}

.file-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-darker);
    border-radius: 8px;
}

.preview-zone {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
}

.preview-zone img {
    max-height: 300px;
    object-fit: contain;
}

.info-box {
    text-align: center;
    padding: 1rem;
}

.info-box .info-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.info-box h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.result-summary {
    text-align: center;
}

.risk-display {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 2.5rem;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 700;
}

.risk-display.risk-yuksek_tehlike {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.risk-display.risk-riskli {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 2px solid rgba(245, 158, 11, 0.3);
}

.risk-display.risk-temiz {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 2px solid rgba(34, 197, 94, 0.3);
}

.risk-badge-lg {
    font-size: 1rem;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-weight: 600;
}

.risk-badge-lg.risk-yuksek_tehlike {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.risk-badge-lg.risk-riskli {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.risk-badge-lg.risk-temiz {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.confidence-display {
    max-width: 400px;
    margin: 0 auto;
}

.detection-details {
    background: var(--bg-darker);
    padding: 1.5rem;
    border-radius: 8px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.raw-output {
    background: var(--bg-darker);
    padding: 1.5rem;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
}

.info-item {
    margin-bottom: 0.5rem;
}

.info-item label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.info-item span {
    color: white;
}

.gpr-image {
    max-height: 400px;
    object-fit: contain;
    background: var(--bg-darker);
    padding: 1rem;
}

.pagination {
    gap: 0.25rem;
}

.page-link {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.page-link:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-dark);
}

.page-item.disabled .page-link {
    background: var(--bg-darker);
    border-color: var(--border-color);
    color: var(--text-muted);
}

.alert {
    border: none;
    border-radius: 8px;
}

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.alert-info {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.btn-close {
    filter: invert(1);
}

.spin {
    animation: spin 1s linear infinite;
}

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

#dashboard-map, #mission-map, #detail-map {
    border-radius: 0 0 12px 12px;
}

.leaflet-container {
    background: var(--bg-darker);
}

.historical-list {
    max-height: 250px;
    overflow-y: auto;
}

.historical-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.historical-item:hover {
    background: var(--bg-card-hover);
}

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

.historical-info {
    display: flex;
    flex-direction: column;
}

.historical-id {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 0.875rem;
}

.historical-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.historical-status {
    font-size: 1rem;
}

.historical-status.warning { color: var(--warning-color); }
.historical-status.success { color: var(--success-color); }

/* Tüm başlıklar beyaz (koyu zeminde) */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary) !important;
}

/* Card ve koyu arka plan içinde beyaz yazı */
.card-body:not(:has(.info-table)) .text-muted,
.card-body:not(:has(.info-table)) .text-secondary,
.card-body:not(:has(.info-table)) small,
.timeline-content small,
.timeline-content h6,
.modal-body p,
.modal-body label {
    color: white !important;
}

/* Açık/beyaz arka plan kısımlarında koyu yazı */
.alert .text-muted,
.alert .text-secondary,
.badge .text-muted,
.badge .text-secondary {
    color: #333 !important;
}

/* Form label açık renk */
.form-label {
    color: var(--text-secondary) !important;
}

/* Card başlıkları beyaz */
.card-title, .card-header {
    color: var(--text-primary) !important;
}

/* Info table özel kuralları: beyaz başlık, koyu yazı */
.info-table {
    background: transparent;
}

.info-table th {
    color: white !important;
    background: transparent;
}

.info-table td {
    color: #1a1a1a !important;
}

/* Select option'ları koyu tema için */
.form-select option {
    background-color: #1a1a2e;
    color: #ffffff;
}

/* Nav tabs daha okunur */
.nav-tabs .nav-link {
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color);
}

.nav-tabs .nav-link.active {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border-color: var(--primary-color) !important;
}

.nav-tabs .nav-link:hover:not(.active) {
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

/* Buton outline daha okunur */
.btn-outline-warning,
.btn-outline-info,
.btn-outline-success,
.btn-outline-primary {
    border-width: 2px;
}

.btn-outline-warning small,
.btn-outline-info small,
.btn-outline-success small,
.btn-outline-primary small {
    color: inherit !important;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0 !important;
    }
    
    .stat-value {
        font-size: 1.75rem;
    }
}
