body {
    background-color: #f0f2f5;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.navbar {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.9);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0d47a1;
}

.dropdown-item i {
    color: #6c757d;
}

.dropdown-item:hover i {
    color: #0d47a1;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    margin-bottom: 2rem;
    background: #fff;
    overflow: hidden;
}

.card-header {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.05);
    padding: 1.25rem 1.5rem;
}

.card-header h4, .card-header h5 {
    margin: 0;
    font-weight: 600;
    color: #1a237e;
}

.card-body {
    padding: 1.5rem;
}

.btn {
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0d47a1 0%, #1a237e 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.2);
}

.btn-secondary {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
}

.btn-secondary:hover {
    background: #e9ecef;
    border-color: #ced4da;
}

.form-label {
    font-weight: 500;
    color: #37474f;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #1a237e;
    box-shadow: 0 0 0 0.2rem rgba(26, 35, 126, 0.15);
}

.alert {
    border-radius: 8px;
    padding: 1rem 1.25rem;
    border: none;
}

.alert-info {
    background-color: #e3f2fd;
    color: #0d47a1;
}

/* Upload de arquivos */
.drop-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    cursor: pointer;
    margin-bottom: 10px;
    position: relative;
}

.drop-area input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.drop-area:hover,
.drop-area.highlight {
    border-color: #0d6efd;
    background: #f1f8ff;
}

.upload-icon {
    font-size: 2em;
    margin-bottom: 10px;
    color: #6c757d;
}

.upload-text {
    color: #6c757d;
    margin-bottom: 10px;
}

.file-count {
    color: #0d6efd;
    font-size: 0.9em;
}

.file-list {
    margin-top: 10px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-bottom: 5px;
    background: #fff;
}

.file-item i {
    color: #6c757d;
}

.file-item span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-item small {
    color: #6c757d;
}

.text-muted {
    color: #666 !important;
    font-size: 0.9rem;
}

/* Footer */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 50px; /* Altura do footer */
}

.footer {
    margin-top: auto;
}

/* Responsividade */
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-item {
        padding: 0.5rem 0;
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }
    
    .dropdown-item {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .card {
        border-radius: 8px;
    }
    
    .drop-area {
        padding: 1.5rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}
