/* Genel Ayarlar - Minimalist ve Temiz */
body {
    font-family: 'Poppins', sans-serif; /* Daha modern bir font */
    background-color: #eef1f6; /* Çok açık, yumuşak gri arka plan */
    color: #333d4a; /* Koyu gri, yumuşak yazı rengi */
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 50px; /* Daha fazla üst boşluk */
    transition: background-color 0.4s;
}

.container {
    width: 95%;
    max-width: 1100px;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 20px; /* Daha yuvarlak köşeler */
    /* Minimalist gölge - Yükseltilmiş bir his verir */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05),
                0 4px 12px rgba(0, 0, 0, 0.03); 
    transition: all 0.3s ease;
}

h1 {
    color: #1e3a8a; /* Koyu, kurumsal mavi */
    font-size: 2.2em;
    font-weight: 700;
    border-bottom: none; /* Alt çizgiyi kaldırdık */
    padding-bottom: 0;
    margin-bottom: 40px;
    text-align: left; /* Başlığı sola hizaladık */
    position: relative;
    letter-spacing: -0.5px;
}

h1::after {
    content: '';
    display: block;
    width: 100px; /* Kısa, modern bir alt çizgi */
    height: 5px;
    background-color: #3b82f6; /* Açık mavi vurgu */
    margin-top: 10px;
    border-radius: 2px;
}

/* Kontrol Paneli ve Form Elemanları - Soft Neumorphism Etkisi */
.kontrol-paneli {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; 
    padding: 20px;
    background-color: #f7f9fc; /* Panel için hafif farklı arka plan */
    border-radius: 15px;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.05); /* Hafif iç gölge */
}

.custom-select {
    appearance: none; /* Varsayılan stili kaldır */
    padding: 14px 10px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    min-width: 150px;
    background-color: #eef1f6; /* Açık arka plan */
    color: #333d4a;
    box-shadow: inset 2px 2px 5px #d9dce1, 
                inset -2px -2px 5px #ffffff; /* Yumuşak iç gölge */
    transition: all 0.3s ease;
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%233b82f6" d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 10px;
}

.custom-select:hover {
    box-shadow: inset 1px 1px 3px #d9dce1, 
                inset -1px -1px 3px #ffffff;
}

.custom-select:focus {
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3), /* Odak için mavi halka */
                inset 2px 2px 5px #d9dce1;
    outline: none;
}

.button-primary {
    background-color: #3b82f6; /* Ana mavi renk */
    color: white;
    border: none;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    /* Soft Neumorphism dış gölge */
    box-shadow: 4px 4px 8px rgba(59, 130, 246, 0.3),
                -4px -4px 8px #ffffff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
}

.button-primary:hover {
    background-color: #2563eb; /* Daha koyu mavi */
    box-shadow: 2px 2px 5px rgba(59, 130, 246, 0.4),
                -2px -2px 5px #ffffff;
}

.button-primary:active {
    transform: scale(0.98);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2); /* Basılma hissi */
}

.button-primary .icon {
    margin-right: 10px;
    font-size: 10px;
}

/* PDF Gösterim Alanı - Çerçeveli ve Odaklanmış */
.pdf-gosterim-alani {
    min-height: 650px; 
    border: 1px solid #e0e7e9; /* Çok hafif bir çerçeve */
    border-radius: 15px;
    padding: 30px;
    background-color: #ffffff;
    text-align: center;
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* Hafif gölge */
}

.pdf-iframe {
    width: 100%;
    height: 75vh;
    border: 1px solid #3b82f6; /* Mavi çerçeve */
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.1); /* Hafif parlama efekti */
}

.rapor-baslik {
    font-size: 1.2em;
    color: #1e3a8a;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hata {
    color: #ef4444; /* Kırmızı hata mesajı */
    font-weight: 700;
    font-size: 1.1em;
    margin-top: 50px;
    background-color: #fee2e2;
    padding: 15px;
    border-radius: 8px;
    border-left: 5px solid #dc2626;
}

/* Responsive Düzenleme */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 1.8em;
        text-align: center;
    }

    h1::after {
        margin: 10px auto 0; /* Ortalamak için */
    }

    .kontrol-paneli {
        flex-direction: column;
        gap: 15px;
    }

    .custom-select {
        min-width: 100%;
    }

    .button-primary {
        width: 100%;
        justify-content: center;
    }
}