﻿/* ==== LOGIN PAGE STYLES ==== */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 20px 20px;
    padding-left: 140px;
    /*background: radial-gradient(circle at top left, #ffffff 0, rgba(255, 255, 255, 0) 55%), radial-gradient(circle at bottom right, #7aa4ff 0, #001b4c 60%);*/
    background: linear-gradient( rgba(0, 0, 40, 0.35), rgba(0, 0, 40, 0.65) ), url("/Tecmic-fundo_XTraN.jpg") center center no-repeat;
    background-size: cover;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #fff;
}

.login-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 40px 36px 32px;
    border-radius: 28px;
    background: rgba(9, 15, 49, 1);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
/*
.login-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 28px;
}
*/


.login-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.login-subtext {
    text-align: center;
    font-size: 13px;
    opacity: 0.75;
    margin-bottom: 12px;
}

.login-field {
    margin-bottom: 18px;
}

.login-label {
    font-size: 13px;
    margin-bottom: 6px;
    display: block;
    opacity: 0.85;
}

.login-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input {
    width: 100%;
    /* Novo padding: Topo (8px), Direita (42px), Baixo (12px), Esquerda (16px) */
    padding: 3px 42px 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(10, 7, 37, 0.9);
    color: #fff;
    outline: none;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    /*.login-input input.mud-input-slot[type="text"] {
        text-align: center;
        
    }*/

    .login-input::placeholder {
        color: rgba(255, 255, 255, 0.45);
    }

    .login-input:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 1px rgba(255, 159, 243, 0.6);
        background: rgba(10, 7, 37, 1);
    }

.login-icon {
    position: absolute;
    right: 14px;
    font-size: 16px;
    opacity: 0.8;
}

.login-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-top: 6px;
    margin-bottom: 18px;
}

.login-remember {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0.85;
}

    .login-remember input {
        accent-color: #ff9ff3;
    }

.login-link {
    cursor: pointer;
    color: #ffb1ff;
    text-decoration: none;
}

    .login-link:hover {
        text-decoration: underline;
    }

.login-button {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 11px 16px;
    font-size: 15px;
    font-weight: 600;
    background: #ffffff;
    color: #000080;
    cursor: pointer;
    margin-bottom: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s ease;
}

    .login-button:hover {
        background: #f5f5ff;
    }

    .login-button:active {
        transform: translateY(1px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
    }

.login-footer {
    text-align: center;
    font-size: 13px;
    opacity: 0.8;
}

    .login-footer a {
        color: #ffb1ff;
        text-decoration: none;
        font-weight: 600;
    }

        .login-footer a:hover {
            text-decoration: underline;
        }

.login-error {
    margin-top: 8px;
    font-size: 12px;
    color: #ffb3b3;
    text-align: center;
}

.login-welcome-title {
    font-size: 1.0rem;
    font-weight: 600;
    text-align: center;
    color: #1d4ed8;
    margin-bottom: 0.2rem;
}

.login-welcome-subtitle {
    font-size: 0.95rem;
    text-align: center;
    color: #d0d0ff;
    margin-bottom: 1.5rem;
}

.top-bar {
    position: fixed; /* fica sempre colada em cima */
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient( to right, rgba(10, 7, 37, 1), rgba(0, 0, 40, 0.65) 50%, rgba(10, 7, 37, 1) 90%, rgba(0, 0, 0, 0.45) 95% );
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 0 24px;
    font-size: 18px;
    font-weight: 600;
    z-index: 1000;
}

.powered-tecmic {
    position: fixed; /* fica colado ao ecrã */
    right: 24px; /* distância da direita */
    bottom: 16px; /* distância do fundo */
    z-index: 1000; /* acima do fundo, abaixo do card */
}

    .powered-tecmic img {
        height: 32px; /* ajusta o tamanho do logo */
        opacity: 0.9; /* ligeiro fade para ficar elegante */
    }


/* A partir de ~992px de largura (desktop), manda a caixa para a esquerda */
@media (min-width: 992px) {
    .login-page {
        justify-content: flex-start;
        padding-left: 100px; /* distância da esquerda, ajusta a gosto */
    }

.powered-tecmic {
     position: fixed;
     right: 30px;
     bottom: 60px;
     z-index: 1000;
}

.powered-tecmic img {
     width: 300px;
     height: 100px;
     display: block;
}

    

