/* Index - Página Principal Minimalista */

/* Variáveis já definidas em dashboard-v2.css */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Formulário Principal */
.main-form {
    background: var(--white);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin: 2rem auto;
    max-width: 800px;
}

.form-header {
    border-bottom: 2px solid var(--light);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 1.5rem;
    color: var(--dark);
}

/* Campos do Formulário */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Botões */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-secondary {
    background: var(--gray);
    color: var(--white);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Seção de Resultados */
.results-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px dashed #cbd5e1;
}

.result-item {
    display: flex;
    justify-content: between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 500;
    color: var(--gray);
    min-width: 120px;
}

.result-value {
    color: var(--dark);
}

/* Feedback Visual */
.field-feedback {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.is-valid {
    border-color: var(--success) !important;
}

.is-invalid {
    border-color: var(--danger) !important;
}

.feedback-success { color: var(--success); }
.feedback-error { color: var(--danger); }

/* Responsivo */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .main-form {
        padding: 1.5rem;
        margin: 1rem;
    }
}