* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
    color: #333;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 12px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    text-align: center;
    padding: 16px 0 12px;
}

.header h1 {
    font-size: 1.3rem;
    color: #1a5276;
    font-weight: 700;
    letter-spacing: 1px;
}

.header .subtitle {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 4px;
}

.belge-panel {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.belge-bilgi {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ecf0f1;
}

.belge-bilgi p {
    font-size: 0.85rem;
    color: #555;
}

.belge-bilgi strong {
    color: #2c3e50;
}

.gecerlilik {
    color: #27ae60;
    font-weight: 600;
}

.actions {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    line-height: 1;
}

.btn svg {
    flex-shrink: 0;
}

.btn-goruntule {
    background: #1a5276;
    color: #fff !important;
}

.btn-indir {
    background: #fff;
    color: #1a5276 !important;
    border: 2px solid #1a5276;
}

.pdf-viewer {
    flex: 1;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 500px;
}

.pdf-viewer iframe {
    border: none;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.hata-panel {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 60px 24px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hata-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.6;
}

.hata-panel h2 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 12px;
}

.hata-panel p {
    color: #7f8c8d;
    font-size: 0.95rem;
    max-width: 400px;
}

.hata-detay {
    margin-top: 8px;
    font-size: 0.85rem !important;
    color: #95a5a6 !important;
}

.footer {
    text-align: center;
    padding: 12px 0;
    color: #95a5a6;
    font-size: 0.75rem;
}

@media (min-width: 601px) {
    .container {
        padding: 20px;
    }
    .header {
        padding: 30px 0 20px;
    }
    .header h1 {
        font-size: 1.6rem;
    }
    .belge-panel {
        padding: 24px;
    }
    .belge-bilgi {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }
    .belge-bilgi p {
        font-size: 0.9rem;
    }
    .btn {
        flex: none;
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    .actions {
        justify-content: center;
    }
    .pdf-viewer {
        min-height: 600px;
    }
    .pdf-viewer iframe {
        min-height: 600px;
    }
}
