:root {
    --primary: #198754;
    --primary-dark: #146c43;
    --background: #f4f7f6;
    --border: #dee2e6;
}

body {
    min-height: 100vh;
    background: var(--background);
    color: #212529;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: linear-gradient(135deg, #157347, #198754);
    color: white;
    padding: 28px 0 70px;
}

.app-title {
    font-weight: 700;
    margin-bottom: 5px;
}

.app-subtitle {
    margin-bottom: 0;
    opacity: 0.9;
}

.upload-container {
    width: 100%;
    max-width: 760px;
    margin: -45px auto 40px;
    padding-left: 15px;
    padding-right: 15px;
}

.upload-card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.upload-card .card-body {
    padding: 28px;
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control,
.form-select {
    min-height: 48px;
    border-radius: 10px;
}

.form-control:focus,
.form-select:focus {
    border-color: #75b798;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.15);
}

.instruction-box {
    border: 1px solid #badbcc;
    background: #d1e7dd;
    color: #0f5132;
    border-radius: 12px;
    padding: 15px;
}

.file-box {
    border: 2px dashed #adb5bd;
    border-radius: 14px;
    padding: 20px;
    background: #f8f9fa;
    transition: 0.2s;
}

.file-box:hover {
    border-color: var(--primary);
    background: #f1f8f4;
}

.btn-upload {
    min-height: 50px;
    border-radius: 10px;
    font-weight: 600;
}

.progress {
    height: 22px;
    border-radius: 20px;
}

.progress-bar {
    font-weight: 600;
}

.status-info {
    border-radius: 12px;
}

.footer-text {
    margin-top: auto;
    text-align: center;
    color: #6c757d;
    padding: 20px;
    font-size: 14px;
}

@media (max-width: 576px) {
    .app-header {
        padding: 22px 0 62px;
    }

    .app-title {
        font-size: 23px;
    }

    .app-subtitle {
        font-size: 14px;
    }

    .upload-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .upload-card {
        border-radius: 14px;
    }

    .upload-card .card-body {
        padding: 20px 16px;
    }
}
