/* Panel Genel Düzeni */
body {
    background-image: url('../image/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
}

.main-content {
    padding: 30px;
    padding-left: 98px; /* Sol menü kapalıyken varsayılan boşluk */
    transition: all 0.5s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Üst Başlık Barı */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.welcome-txt h1 {
    font-size: 32px;
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
}

.welcome-txt h1 span {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
}

.date-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: bold;
}

/* Kart Konteyneri */
.panel-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ortak Glassmorphism Kart Şablonu */
.glass-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    color: #fff;
    text-align: center;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.9) translateY(30px);
}

/* 1. Sorgulama Kartı Detayları */
.card-icon i {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.query-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.query-card p {
    color: #e0e0e0;
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Fütüristik Giriş Alanı */
.search-box {
    position: relative;
    margin-bottom: 25px;
}

.search-box input {
    width: 100%;
    padding: 18px 20px 18px 60px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    font-size: 18px;
    color: #fff;
    letter-spacing: 2px;
    outline: none;
    transition: all 0.3s;
    font-weight: bold;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0px;
    font-weight: normal;
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
    background: rgba(255, 255, 255, 0.25);
}

.input-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--primary-color);
}

/* Parlayan Buton */
.glow-btn {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color), #2E7D32);
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.4);
    transition: all 0.3s;
}

.glow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(76, 175, 80, 0.6);
}

/* 2. Tarama / Yüklenme Animasyon Tasarımı */
.scanner-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.scanning-icon {
    font-size: 50px;
    color: var(--primary-color);
}

.scanner-line {
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    top: 0;
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

/* Yüklenme Çubuğu */
.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin: 25px 0;
    overflow: hidden;
}

.progress-fill {
    width: 10%;
    height: 100%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    margin-top: 20px;
}

.step-list .step {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: all 0.3s;
}

.step-list .step.active {
    color: var(--primary-color);
    font-weight: bold;
    transform: translateX(5px);
}

/* 3. Sonuç Sayfası Tasarımı */
.result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.res-item {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.res-item .label {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 5px;
}

.res-item .value {
    font-size: 16px;
    font-weight: bold;
}

.res-item.state-bonus .value {
    color: var(--primary-color);
}

/* Büyük Fiyat Alanı */
.price-banner {
    background: rgba(76, 175, 80, 0.15);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.2);
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 15px rgba(76, 175, 80, 0.2); }
    100% { box-shadow: 0 0 30px rgba(76, 175, 80, 0.5); }
}

.price-banner .banner-title {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #fff;
    opacity: 0.8;
}

.price-banner h1 {
    font-size: 42px;
    color: #fff;
    margin: 10px 0;
    font-family: 'Google Sans', sans-serif;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.price-banner p {
    font-size: 13px;
    color: #ddd;
}

/* Sonuç Butonları */
.result-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    flex: 1;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.action-btn.primary {
    background: var(--primary-color);
    color: white;
}

.action-btn.secondary {
    background: var(--danger-color);
    color: white;
    border: 1px solid var(--danger-hover);
}

.action-btn:hover {
    transform: translateY(-2px);
}

.action-btn.primary:hover {
    background: var(--primary-hover);
}

.action-btn.secondary:hover {
    background: var(--danger-hover);
}

/* Diğer Animasyonlar */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Mobil Uyumlar */
@media (max-width: 768px) {
    .main-content {
        padding-left: 20px; /* Mobilde menü gizleneceği için */
    }
    .panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .result-grid {
        grid-template-columns: 1fr;
    }
    .result-actions {
        flex-direction: column;
    }
}

/* --- GÜNCELLENMİŞ PANEL.CSS (GRİ TONLAMA) --- */

.main-content {
    padding: 30px;
    padding-left: 98px;
    transition: all 0.5s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Üst Başlık Barı */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    color: #2d3748; /* Beyaz yerine Koyu Antrasit */
}

.welcome-txt h1 {
    font-size: 32px;
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
    color: #1a202c;
}

.welcome-txt h1 span {
    color: #2e7d32; /* Daha tok bir yeşil */
}

.welcome-txt p {
    color: #4a5568; /* Açık füme */
    font-weight: 500;
}

.date-badge {
    background: rgba(255, 255, 255, 0.5); /* Daha belirgin beyaz cam */
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #2d3748;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Cam Kart Yapısı */
.glass-card {
    background: rgba(255, 255, 255, 0.55); /* Opaklığı artırarak arkadaki beyaz bulutlardan ayırdık */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    color: #2d3748; /* Kart içi genel yazılar koyu gri */
    text-align: center;
    transition: all 0.5s ease;
}

.query-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
}

.query-card p {
    color: #4a5568; /* Yazı rengi koyulaştı */
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.5;
    font-weight: 500;
}

/* İnput Alanı */
.search-box input {
    width: 100%;
    padding: 18px 20px 18px 60px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    font-size: 18px;
    color: #1a202c; /* Yazılan veri siyah/koyu gri */
    letter-spacing: 2px;
    outline: none;
    transition: all 0.3s;
    font-weight: bold;
}

.search-box input::placeholder {
    color: #a0aec0; /* Belirgin gri placeholder */
    letter-spacing: 0px;
    font-weight: normal;
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.2);
    background: #ffffff;
}

/* Tarama Ekranı Adımları */
.step-list .step {
    font-size: 14px;
    color: #718096; /* Bekleyen adımlar gri */
    font-weight: 500;
}
.step-list .step.active {
    color: #2e7d32; /* Aktif adım koyu yeşil */
    font-weight: 700;
}

/* Sonuç Tablosu */
.res-item {
    background: rgba(0, 0, 0, 0.04); /* Hafif gölgeli gri kutular */
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 15px;
    border-radius: 12px;
}

.res-item .label {
    color: #718096; /* Başlıklar orta gri */
    font-weight: 600;
}

.res-item .value {
    color: #1a202c; /* Değerler koyu gri */
}

/* Büyük Fiyat Alanı Banner'ı */
.price-banner {
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
}

.price-banner .banner-title {
    color: #2e7d32; /* Başlık yeşil */
    font-weight: 800;
}

.price-banner h1 {
    color: #1b5e20; /* Fiyat rakamı çok net koyu yeşil */
    text-shadow: none;
}

.price-banner p {
    color: #2e7d32;
    font-weight: 600;
}

/* Butonlar */
.action-btn.secondary {
    background: var(--danger-color);
    color: white;
    border: 1px solid var(--danger-hover);
}
.action-btn.secondary:hover {
    background: var(--danger-hover);
}
