/* login.css */
@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@400;600;700&display=swap');

:root {
    --dark-bg: #000000;
    --dark-primary: #1a1a1a;
    --dark-text: #e2e8f0;
    --accent: #4361ee;
    --shadow: rgba(0, 0, 0, 0.5);
    --border-color: #4a5568;
    --icon-color: #a0aec0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--dark-text);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.login-box {
    background-color: var(--dark-primary);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.logo-link {
    text-decoration: none;
    color: var(--dark-text);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.logo {
    width: 42px;
    height: 42px;
    /* Removed background gradient */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo i { color: white; font-size: 24px; }
.login-box h1 { font-size: 28px; font-weight: 700; color: #ffffff; }
#form-subtitle { font-size: 16px; color: var(--icon-color); margin-bottom: 30px; }

#email-login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    text-align: left;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    color: var(--icon-color);
    font-size: 16px;
}

.input-group input {
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    color: var(--dark-text);
    padding: 12px 15px 12px 45px; /* Added left padding for icon */
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
}

.btn-primary {
    background-color: white;
    color: #1a1a1a;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover { background-color: #e0e0e0; }
.separator-text { margin: 20px 0; color: var(--icon-color); text-transform: uppercase; font-size: 12px; font-weight: 600; }

.google-login-btn {
    background-color: transparent;
    color: white;
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s;
    width: 100%;
}

.google-login-btn:hover { background-color: rgba(255, 255, 255, 0.05); }
.google-login-btn img { width: 20px; height: 20px; }

.form-footer {
    margin-top: 25px;
    font-size: 14px;
    display: flex;
    flex-direction: column; /* Changed layout to vertical */
    align-items: center;
    gap: 15px; /* Creates space between the links */
}

.create-account-wrapper span {
    margin-right: 5px;
    color: var(--icon-color);
}

.form-footer a {
    color: #ffffff; /* Changed link color to white */
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

.message-area {
    margin-top: 15px;
    min-height: 20px;
    font-weight: 500;
    color: #f56565; /* Vermelho para erros */
}

.message-area.success { color: #48bb78; /* Verde para sucesso */ }