/* css/style.css */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #141e30, #243b55);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #fff;
}

.login-container {
    width: 400px;
    background: #1a1a1a;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    text-align: center;
}

form h1 {
    font-size: 28px;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}

.input-wrapper input {
    flex: 1;
    padding: 12px 16px 12px 40px;
    border: none;
    outline: none;
    background: none;
    color: #fff;
    font-size: 14px;
}

.input-icon {
    position: absolute;
    left: 12px;
    color: #bbb;
    font-size: 18px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    cursor: pointer;
    color: #bbb;
    font-size: 18px;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: #fff;
}

button.login-button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

button.login-button:hover {
    background: linear-gradient(90deg, #2575fc, #6a11cb);
}

footer p {
    margin-top: 20px;
    color: #bbb;
    font-size: 14px;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

form h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #e0e0e0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.error {
    color: #ff4d4d;
    font-weight: bold;
    margin: 12px 0;
    padding: 10px;
    background-color: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.6);
    border-radius: 8px;
    text-align: center;
}

.form-group {
    margin: 20px 0;
    text-align: left;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #b3b3b3;
    margin-bottom: 6px;
}

input {
    width: 95%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    outline: none;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

input:focus {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 6px rgba(90, 130, 250, 0.7);
}

.login-button {
    width: 100%;
    padding: 14px;
    margin-top: 24px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.login-button:hover {
    background: linear-gradient(90deg, #2575fc, #6a11cb);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.6);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 16px;
    width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.modal-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 16px 0;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    color: #333;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 12px;
}

table th {
    background-color: #f4f4f4;
    font-weight: 600;
}


/* Estilo para o footer */
footer {
    width: 100%;
    padding: 15px 0;
    text-align: center;
    background: rgba(39, 29, 51, 0.95);
    color: #bbb;
    font-size: 14px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.4);
}

footer p {
    margin: 0;
    font-weight: 300;
}

footer p:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 480px) {
    .login-container {
        width: 90%;
        padding: 20px;
    }

    input {
        padding: 12px;
    }

    .login-button {
        padding: 12px;
        font-size: 14px;
    }

    footer {
        font-size: 12px;
        padding: 10px 0;
    }
}


/* css/style.css */

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 12px;
    color: #888;
    font-size: 16px;
}

.input-group input {
    padding-left: 40px; /* Espaço extra para o ícone */
}

form h1 {
    font-size: 28px;
    margin-bottom: 24px;
    color: #e0e0e0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-button i {
    margin-right: 8px;
}

/* Estilo adicional para o footer */
footer p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}


.input-group {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
}

.input-icon {
    color: #888;
    font-size: 18px;
    margin-right: 10px;
}

.input-group input {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
}

/* Ícone de visualização alinhado ao final */
.toggle-password {
    cursor: pointer;
    color: #888;
    font-size: 18px;
    margin-left: 10px;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: #fff;
}

.input-group input::placeholder {
    color: #bbb;
}

/* Responsividade */
@media (max-width: 480px) {
    .input-group {
        flex-direction: row;
        padding: 8px;
    }

    .input-icon,
    .toggle-password {
        font-size: 16px;
    }

    .login-container {
        width: 90%;
        padding: 20px;
    }
}
