:root {
    --primary: #d63384;
    --primary-hover: #b8256f;
    --bg-body: #f4f6f9;
    --card-bg: #ffffff;
    --text-dark: #333333;
    --text-muted: #6c757d;
    --border-light: #e9ecef;
    --radius: 12px;
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-body);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.card-cadastro {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 40px 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.brand {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.brand i {
    font-size: 2rem;
}

.card-cadastro h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.card-cadastro p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ===== Alertas ===== */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* ===== Formulário ===== */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 4px;
}

.form-group label i {
    margin-right: 6px;
    color: var(--primary);
}

.form-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    background: #fff;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(214, 51, 132, 0.15);
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    background: var(--primary-hover);
}

.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.login-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

/* ===== Responsivo ===== */
@media (max-width: 480px) {
    .card-cadastro {
        padding: 28px 20px;
    }
}