* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-image: url('img/fundo3.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    padding: 40px;
}

.logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: #667eea;
    letter-spacing: -0.5px;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 30px;
    text-align: center;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #555555;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-card-wrap {
    position: relative;
    display: block;
}

.input-card-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: #888;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-card-wrap input {
    padding-left: 46px;
}

#card {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.15em;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

.input-password-wrap {
    position: relative;
    display: block;
}

.input-password-wrap input {
    padding-left: 46px;
}

.forgot-password {
    display: block;
    text-align: right;
    margin-top: 8px;
    font-size: 14px;
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #764ba2;
    text-decoration: underline;
}

.login-button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0929b8 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.login-button:active {
    transform: translateY(0);
}

.register-section {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
    color: #666666;
}

.register-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.register-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .login-wrapper {
        padding: 30px 20px;
    }
    
    .logo {
        font-size: 28px;
    }
    
    .form-title {
        font-size: 20px;
    }
}