/* ===== DESIGN TOKENS ===== */
:root {
    --bg-dark: #0f172a;
    --bg-dark-soft: #1e293b;

    --primary: #2563eb;
    --primary-light: #38bdf8;

    --success: #10b981;
    --warning: #f59e0b;

    --text-dark: #0f172a;
    --text-muted: #6b7280;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;

    --shadow-sm: 0 6px 20px rgba(0,0,0,.08);
    --shadow-md: 0 20px 50px rgba(0,0,0,.18);
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at top, #1f2933, var(--bg-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    padding: 16px;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1100px;
    background: rgba(255,255,255,.96);
    border-radius: var(--radius-lg);
    display: flex;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ===== LEFT ===== */
.left {
    width: 50%;
    padding: clamp(32px, 5vw, 64px);
    background: linear-gradient(160deg, var(--bg-dark), var(--bg-dark-soft));
    color: #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.left p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #cbd5f5;
}

.left ul {
    list-style: none;
}

.left li {
    font-size: 15px;
    margin-bottom: 14px;
    padding-left: 28px;
    position: relative;
}

.left li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

/* ===== RIGHT ===== */
.right {
    width: 50%;
    padding: clamp(32px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.right h2 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 32px;
}

/* ===== FORM ===== */
form input,
form textarea,
form select {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: var(--radius-sm);
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 15px;
    transition: all .25s ease;
}

form input::placeholder,
form textarea::placeholder {
    color: #9ca3af;
}

form input:focus-visible,
form textarea:focus-visible,
form select:focus-visible {
    outline: none;
    border-color: var(--primary-light);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(56,189,248,.2);
}

/* ===== BUTTON ===== */
form button,
.dashboard-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all .25s ease;
    text-decoration: none;
}

form button:hover,
.dashboard-actions a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37,99,235,.35);
}

.dashboard-actions a.logout {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
}

/* ===== CARDS ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: linear-gradient(180deg, #fff, #f8fafc);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform .3s ease;
}

.card:hover {
    transform: translateY(-6px);
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    border-left: 6px solid var(--primary-light);
}

.card.pendente::before { border-left-color: var(--warning); }
.card.respondida::before { border-left-color: var(--success); }

/* ===== STATUS ===== */
.status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.status.pendente {
    background: #fef3c7;
    color: #92400e;
}

.status.respondida {
    background: #d1fae5;
    color: #065f46;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }

    .left, .right {
        width: 100%;
    }

    .left {
        text-align: center;
    }
}
