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

body {
    font-family: 'Inter', Arial, sans-serif;
    background: linear-gradient(135deg, #B3E5FC 0%, #81D4FA 40%, #4FC3F7 100%);
    color: #1A237E;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

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

.login-box {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 22px;
    padding: 40px 35px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1), 0 0 40px rgba(255,255,255,0.3);
    text-align: center;
}

.logo-link {
    font-size: 1.5rem;
    font-weight: 900;
    color: #0D47A1;
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
}

h1 {
    font-size: 1.6rem;
    font-weight: 900;
    color: #0D47A1;
    margin-bottom: 6px;
}

.subtitle {
    color: #1A237E;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 18px;
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: 700;
    color: #0D47A1;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(5px);
    font-size: 1rem;
    color: #1A237E;
    transition: all 0.3s;
    outline: none;
    font-family: 'Inter', Arial, sans-serif;
}

.input-group input:focus {
    border-color: #0D47A1;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(13,71,161,0.2);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0D47A1, #1565C0);
    color: #FFF;
    border: none;
    border-radius: 40px;
    font-weight: 900;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(13,71,161,0.4);
    margin-top: 10px;
}

.btn-login:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(13,71,161,0.6);
}

.btn-login:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cadastro-link {
    margin-top: 20px;
    color: #1A237E;
    font-size: 0.9rem;
}

.cadastro-link a {
    color: #0D47A1;
    font-weight: 700;
    text-decoration: none;
}

.cadastro-link a:hover {
    text-decoration: underline;
}

.module-selector {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin: 25px 0;
        }
        .module-option {
            cursor: pointer;
            text-align: center;
            transition: all 0.3s;
            padding: 15px;
            border-radius: 20px;
            border: 3px solid transparent;
            background: rgba(255,255,255,0.5);
        }
        .module-option img {
            width: 100px;
            height: auto;
            object-fit: contain;
            pointer-events: none;
        }
        .module-option.selected {
            border-color: #0D47A1;
            background: rgba(255,255,255,0.9);
            box-shadow: 0 0 20px rgba(13,71,161,0.3);
        }
        .module-option:not(.selected) {
            opacity: 0.5;
            filter: grayscale(30%);
        }
        .module-option:hover {
            opacity: 1;
            filter: none;
        }
        .module-label {
            font-weight: 700;
            margin-top: 8px;
            color: #0D47A1;
        }
