:root {
        --primary: #4361ee;
        --primary-dark: #3a0ca3;
        --secondary: #4895ef;
        --light: #f8f9fa;
        --dark: #212529;
        --success: #4cc9f0;
        --error: #f72585;
        --border-radius: 8px;
        --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        --transition: all 0.3s ease;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    body {
        background-color: #f5f7fa;
        color: var(--dark);
        line-height: 1.6;
        padding: 20px;
    }

    .header {
        text-align: center;
        margin-bottom: 20px;
    }

    .logo {
        max-width: 900px;
        height: auto;
        margin-bottom: 15px;
    }

    .container {
        max-width: 800px;
        margin: 0 auto 40px;
        padding: 30px;
        background: white;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
    }

    h1 {
        color: var(--primary);
        text-align: center;
        margin-bottom: 30px;
        font-size: 2.2rem;
    }

    form p {
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
    }

    label {
        font-weight: 600;
        margin-bottom: 8px;
        color: #495057;
    }

    input, select, textarea {
        padding: 12px 15px;
        border: 1px solid #ced4da;
        border-radius: var(--border-radius);
        font-size: 1rem;
        transition: var(--transition);
        width: 100%;
    }

    input:focus, select:focus, textarea:focus {
        outline: none;
        border-color: var(--secondary);
        box-shadow: 0 0 0 3px rgba(72, 149, 239, 0.2);
    }

    button {
        background-color: var(--primary);
        color: white;
        border: none;
        padding: 14px 20px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: var(--border-radius);
        cursor: pointer;
        transition: var(--transition);
        width: 100%;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-top: 10px;
    }

    button:hover {
        background-color: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
    }

    .errorlist {
        color: var(--error);
        margin-top: 5px;
        list-style-type: none;
        font-size: 0.9rem;
    }

    /* Estilo para campos com erro */
    .error input, .error select, .error textarea {
        border-color: var(--error);
    }

    /* Responsividade */
    @media (max-width: 768px) {
        .container {
            padding: 20px;
            margin: 20px auto;
        }
        
        h1 {
            font-size: 1.8rem;
        }
    }

    @media (max-width: 480px) {
        body {
            padding: 10px;
        }
        
        .container {
            padding: 15px;
        }
        
        input, select, textarea, button {
            padding: 10px 12px;
        }

        .logo {
            max-width: 150px;
        }
    }

    /* Efeitos visuais */
    form p {
        animation: fadeIn 0.5s ease-out forwards;
        opacity: 0;
    }

    @keyframes fadeIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
        from {
            transform: translateY(10px);
        }
    }

    /* Adiciona delay para cada campo */
    form p:nth-child(1) { animation-delay: 0.1s; }
    form p:nth-child(2) { animation-delay: 0.2s; }
    form p:nth-child(3) { animation-delay: 0.3s; }
    form p:nth-child(4) { animation-delay: 0.4s; }
    form p:nth-child(5) { animation-delay: 0.5s; }
    form p:nth-child(6) { animation-delay: 0.6s; }
    form p:nth-child(7) { animation-delay: 0.7s; }
    form p:nth-child(8) { animation-delay: 0.8s; }
    form p:nth-child(9) { animation-delay: 0.9s; }
    form p:nth-child(10) { animation-delay: 1.0s; }
    form p:nth-child(11) { animation-delay: 1.1s; }
    button { animation-delay: 1.2s; }

    footer {
    background-color: #f1f1f1;
    padding: 20px 10px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    border-top: 1px solid #ccc;
    margin-top: 40px;
}

footer h5 {
    margin: 5px 0;
    font-size: 12px;
    font-weight: normal;
}

footer a {
    color: #4361ee;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #3a0ca3;
    text-decoration: underline;
}