* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    background: url("imagens/background.png") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-container {
    width: 100%;
    max-width: 420px;
    padding: 2rem;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.auth-card h1 {
    margin-bottom: 1.5rem;
    color: #2a5298;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tab-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: #2a5298;
    color: white;
    cursor: pointer;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

.tab-btn.active {
    background: #764ba2;
}

.tab-content input {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.tab-content button {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border: none;
    background: #2a5298;
    color: white;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.tab-content button:hover {
    background: #764ba2;
}

.auth-msg {
    margin-top: 1rem;
    color: red;
    font-weight: bold;
    font-size: 0.9rem;
}

@media (max-width: 900px) {

    header {
        height: auto;
        padding: 2rem 1rem;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    header::after {
        border-radius: 0;
    }

    .logo {
        position: static;
        height: 55px;
        margin-bottom: 1rem;
    }

    header h1 {
        font-size: 2rem;
        margin: 0.5rem 0;
    }

    nav {
        position: static;
        margin-top: 1rem;
        width: 100%;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }

    nav a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px;
    }
}