/* ================================
   FUNDO PADRÃO (DESKTOP)
================================ */
body {
    margin: 0;
    padding: 0;

    height: 100vh; /* para centralização vertical */
    display: flex;
    justify-content: center;
    align-items: center;

    background: url('../img/Wallpaper.jpg') no-repeat center center fixed;
    background-size: cover;

    font-family: Arial, sans-serif;
    color: #e5e5e5;
}

/* ================================
   FUNDO PARA SMARTPHONE
================================ */
@media (max-width: 768px) {
    body {
        background: url('../img/Wallpaper1.jpg') no-repeat center center fixed;
        background-size: cover;

        padding: 15px;
        align-items: flex-start; /* desce um pouco no celular */
    }

    .container {
        width: 95% !important;
        margin-top: 20px !important;
    }
}

/* ================================
   CONTAINER CENTRAL
================================ */
.container {
    width: 420px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 0 12px rgba(0,0,0,0.4);
    backdrop-filter: blur(3px);
}

/* ================================
   CARD / CAMPOS
================================ */
.card h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
}

label {
    font-size: 13px;
    font-weight: bold;
    color: #cfeaff;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #00bfff90;
    border-radius: 6px;
    background: rgba(0, 20, 50, 0.6);
    color: #fff;
    margin-bottom: 12px;
}

input::placeholder {
    color: #c8dfff;
}

button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    background: #00c3ff;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #00a6d6;
}

/* ================================
   LOGO
================================ */
.logo {
    width: 120px;
    display: block;
    margin: 0 auto 15px auto;
}
/* ================================
   HEADER COM TÍTULO E LINK AJUDA
================================ */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header h2 {
    margin: 0;
    color: #fff;
    font-weight: 600;
}

.ajuda-link {
    color: #00c3ff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.2s;
}

.ajuda-link:hover {
    background: rgba(0, 195, 255, 0.2);
    color: #fff;
}

/* ================================
   MODAL DE AJUDA
================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: rgba(0, 0, 0, 0.85);
    border-radius: 12px;
    padding: 25px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    position: relative;
    color: #e5e5e5;
    line-height: 1.6;
}

.modal-content h3 {
    margin-top: 0;
    color: #00c3ff;
    border-bottom: 1px solid #00bfff30;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.modal-content p {
    margin: 10px 0;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}

.close:hover {
    color: #fff;
}

/* ================================
   RESPONSIVO PARA MOBILE
================================ */
@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
        max-width: 95%;
    }

    .header {
        flex-direction: column;
        gap: 10px;
    }

    .ajuda-link {
        font-size: 16px;
        padding: 8px 15px;
    }
}