* {
    box-sizing: border-box;
    font-family: system-ui, 'Segoe UI', 'Helvetica Neue', sans-serif;
}

body {
    background: #f8f9fa;
    margin: 0;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar{
	height:80px !important;
}

.app-container {
    max-width: 1200px;
    width: 100%;
    background: linear-gradient(145deg, #f5f7fc 0%, #eef2f6 100%);
    backdrop-filter: blur(2px);
    border-radius: 2.5rem;
    box-shadow: 0 5px 15px 2px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 28px 30px 40px;
    transition: all 0.2s;
	margin-top: 70px;
}
h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    color: #333;
    text-align: center;
}
.sub {
    text-align: center;
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}
.two-col-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 30px;
}
.card {
    flex: 1;
    min-width: 280px;
    background: white;
    border-radius: 2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    padding: 24px 22px 30px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(0,0,0,0.05);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15);
}
.card h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1f3b4c;
}
.badge {
    background: #eef2fa;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 40px;
    font-weight: normal;
    color: #0D6EFD;
}
.drop-area {
    border: 2px dashed #bdd3e6;
    border-radius: 1.5rem;
    padding: 28px 16px;
    text-align: center;
    background: #fafdff;
    transition: all 0.2s;
    cursor: pointer;
    margin: 18px 0 16px;
}
.drop-area.active {
    border-color: #0D6EFD;
    background: #e9f4fb;
}
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 16px;
}
button {
    background: #0D6EFD;
    border: none;
    color: white;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
button.secondary {
    background: #fff;
    color: #ef4444;
	border: 1px solid #e2edf2;
    box-shadow: none;
}
button.danger {
    background: #d9534f;
}
button:hover {
    filter: brightness(0.92);
    transform: scale(0.98);
}
.preview-area {
    background: #f8fafd;
    border-radius: 1.2rem;
    padding: 18px;
    margin-top: 18px;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #e2edf2;
}
.thumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.thumb-item {
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
    width: 80px;
}
.thumb-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}
.file-name {
    font-size: 11px;
    margin-top: 5px;
    color: #3f5e7c;
    word-break: break-all;
}
.pdf-page-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}
.pdf-page-card {
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    text-align: center;
    width: 100px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.pdf-page-card img {
    width: 84px;
    height: auto;
    border-radius: 6px;
    border: 1px solid #dce5ec;
}
.download-btn {
    background: #0D6EFD;
    width: 100%;
    justify-content: center;
    margin-top: 12px;
}
.info-text {
    font-size: 0.8rem;
    color: #5e7e9e;
    margin-top: 10px;
}
hr {
    margin: 25px 0 0;
    border: none;
    height: 1px;
    background: linear-gradient(to right, #cbdbe0, transparent);
}
footer {
    text-align: center;
    font-size: 0.75rem;
    margin-top: 28px;
    color: #8196ab;
}
@media (max-width: 750px) {
    .app-container {
        padding: 16px;
    }
    .card {
        padding: 18px;
    }
}