body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f4f9 100%);
    min-height: 100vh;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Header Amica */
.amica-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fcff 100%);
    padding: 1.5rem 0;
    box-shadow: 0 2px 15px rgba(15, 123, 188, 0.08);
    margin-bottom: 2rem;
    border-bottom: 2px solid #e8f4f9;
}

.amica-logo {
    max-width: 200px;
    height: auto;
}

.container {
    max-width: 800px;
}

.header {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
    padding: 2rem 0;
}

.header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #0f7bbc 0%, #0d6199 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header .lead {
    font-size: 1.1rem;
    color: #666;
}

.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(15, 123, 188, 0.12);
    background: linear-gradient(135deg, #ffffff 0%, #fafcfe 100%);
    border-top: 3px solid #0f7bbc;
}

.card-body {
    padding: 2rem;
}

/* Upload Area */
.upload-area {
    border: 3px dashed #c5e4f3;
    border-radius: 0.75rem;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8fcff 0%, #f0f8fc 100%);
    user-select: none;
    position: relative;
}

.upload-area:hover {
    border-color: #0f7bbc;
    background: linear-gradient(135deg, #e8f4f9 0%, #d9eef7 100%);
    box-shadow: 0 4px 15px rgba(15, 123, 188, 0.15);
}

.upload-area.dragover {
    border-color: #0d6199;
    background: linear-gradient(135deg, #d1ebf7 0%, #b8dff0 100%);
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(15, 123, 188, 0.25);
}

.upload-content {
    color: #6c757d;
}

.upload-content svg {
    color: #0f7bbc;
    filter: drop-shadow(0 2px 4px rgba(15, 123, 188, 0.2));
}

.upload-content p {
    font-size: 1.1rem;
}

.upload-content .text-primary {
    color: #0f7bbc !important;
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
}

.upload-content .text-primary:hover {
    color: #0d6199 !important;
}

/* File Info */
.file-info {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: #d1f4e0;
    border-radius: 0.75rem;
    border: 2px solid #10b981;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.file-info .text-success {
    color: #10b981 !important;
}

.file-info .flex-grow-1 {
    flex: 1;
    min-width: 0;
}

.file-info strong {
    color: #065f46;
    word-break: break-word;
    display: block;
}

.file-info .text-muted {
    font-size: 0.85rem;
    color: #059669 !important;
}

.file-info .btn-close {
    flex-shrink: 0;
}

/* Form Elements */
.form-label {
    font-weight: 600;
    color: #495057;
}

.form-control:focus {
    border-color: #0f7bbc;
    box-shadow: 0 0 0 0.2rem rgba(15, 123, 188, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #0f7bbc 0%, #0d6199 100%);
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(15, 123, 188, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0d6199 0%, #0b5280 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 123, 188, 0.4);
}

.btn-primary:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    font-weight: 600;
    padding: 0.75rem 2rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Progress */
.progress {
    background-color: #e8f4f9;
    border-radius: 0.5rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.progress-bar {
    background: linear-gradient(90deg, #0f7bbc 0%, #0d9ed8 50%, #0f7bbc 100%);
    background-size: 200% 100%;
    animation: progressGradient 2s ease infinite;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(15, 123, 188, 0.3);
}

@keyframes progressGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Result Section */
#resultSection .bi {
    display: block;
    margin: 0 auto 1rem;
}

#resultSection h4 {
    font-weight: 700;
}

#resultSection .alert {
    text-align: left;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #ffffff 0%, #f8fcff 100%);
    color: #666;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 2px solid #e8f4f9;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(15, 123, 188, 0.05);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 1rem 0;
    }

    .header h1 {
        font-size: 2rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    .upload-area {
        padding: 2rem 1rem;
    }
}
