﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.login-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('https://i.imgur.com/zIwJS2W.jpeg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

    .login-page::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 50, 107, 0.4);
        z-index: 0;
    }

    .login-page::after {
        content: '';
        position: absolute;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(74, 192, 255, 0.2) 0%, transparent 70%);
        border-radius: 50%;
        bottom: -150px;
        left: -150px;
        animation: pulse 6s ease-in-out infinite;
    }

@@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.login-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 50, 107, 0.3);
    padding: 25px 35px 35px 35px;
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
    animation: slideIn 0.6s ease-out;
}

@@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-section {
    text-align: center;
    margin-bottom: 18px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0073E6, #3FA1FF);
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 8px 20px rgba(0, 115, 230, 0.3);
    position: relative;
}

    .logo-icon::before {
        content: '';
        position: absolute;
        width: 30px;
        height: 30px;
        border: 3px solid white;
        border-radius: 50%;
        left: 12px;
    }

    .logo-icon::after {
        content: '';
        position: absolute;
        width: 30px;
        height: 30px;
        border: 3px solid white;
        border-radius: 50%;
        right: 12px;
        opacity: 0.7;
    }

h1 {
    font-size: 28px;
    color: #00326B;
    font-weight: 700;
    margin-bottom: 4px;
}

.subtitle {
    color: #0073E6;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 12px;
    position: relative;
}

label {
    display: block;
    color: #00326B;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

input, select {
    width: 100%;
    padding: 6px 10px;
    border: 2.5px solid #cbd5e0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8faff;
    color: #00326B;
}

    input:focus, select:focus {
        outline: none;
        border-color: #0073E6;
        background: white;
        box-shadow: 0 0 0 4px rgba(0, 115, 230, 0.1);
    }

    input::placeholder {
        color: #a0aec0;
    }

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300326B' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

    select:disabled {
        background-color: #e2e8f0;
        color: #a0aec0;
        cursor: not-allowed;
        opacity: 0.6;
    }

    select option {
        padding: 10px;
    }

.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #0073E6 0%, #3FA1FF 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 6px;
    box-shadow: 0 4px 15px rgba(0, 115, 230, 0.3);
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(0, 115, 230, 0.4);
    }

    .btn-login:active {
        transform: translateY(0);
    }

.forgot-password {
    text-align: center;
    margin-top: 20px;
}

    .forgot-password a {
        color: #0073E6;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.3s ease;
    }

        .forgot-password a:hover {
            color: #00326B;
        }

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 22px 0 18px 0;
    color: #a0aec0;
    font-size: 13px;
}

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #e0e7ff;
    }

    .divider span {
        padding: 0 15px;
    }

@@media (max-width: 480px) {
    .login-container {
        padding: 30px 25px;
    }

    h1 {
        font-size: 28px;
    }
}

.primeiro-acesso-link {
    text-align: center;
    margin-top: 20px;
}

    .primeiro-acesso-link a {
        color: #0073E6;
        text-decoration: underline;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.3s ease;
    }

        .primeiro-acesso-link a:hover {
            color: #00326B;
        }
