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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, sans-serif;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: white;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

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

.login-header .logo {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    text-decoration: none;
}

.login-header p {
    color: #6e6e73;
    font-size: 16px;
    margin-top: 4px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    color: #1d1d1f;
}

input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.2s;
    background: white;
}

input:focus {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

.password-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-wrapper input {
    flex: 1;
}

.toggle-password {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    color: #6e6e73;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: #007aff;
    color: white;
    border: none;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.btn-primary:hover {
    background: #0051b3;
}

.btn-google {
    width: 100%;
    padding: 12px;
    background: white;
    color: #1d1d1f;
    border: 1px solid #e0e0e0;
    border-radius: 980px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s;
}

.btn-google:hover {
    background: #f5f5f7;
}

.divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    background: white;
    padding: 0 16px;
    position: relative;
    color: #6e6e73;
    font-size: 14px;
}

.mensagem {
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: none;
    font-size: 14px;
}

.mensagem.erro {
    background: #ffe5e5;
    color: #ff3b30;
    display: block;
}

.mensagem.sucesso {
    background: #d4edda;
    color: #155724;
    display: block;
}

.forgot-password {
    text-align: right;
    margin-top: 4px;
}

.forgot-password a {
    color: #007aff;
    text-decoration: none;
    font-size: 14px;
}

.footer-link {
    text-align: center;
    margin-top: 24px;
}

.footer-link a {
    color: #007aff;
    text-decoration: none;
    font-weight: 500;
}