﻿/* Manrope Font Faces */
@font-face {
    font-family: "Manrope";
    src: url("/fonts/Manrope/Manrope-ExtraLight.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "Manrope";
    src: url("/fonts/Manrope/Manrope-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Manrope";
    src: url("/fonts/Manrope/Manrope-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Manrope";
    src: url("/fonts/Manrope/Manrope-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Manrope";
    src: url("/fonts/Manrope/Manrope-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Manrope";
    src: url("/fonts/Manrope/Manrope-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Manrope";
    src: url("/fonts/Manrope/Manrope-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: "Nunito Sans";
    src: url("/fonts/Nunito_Sans/NunitoSans-ExtraLight.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "Nunito Sans";
    src: url("/fonts/Nunito_Sans/NunitoSans-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Nunito Sans";
    src: url("/fonts/Nunito_Sans/NunitoSans-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Nunito Sans";
    src: url("/fonts/Nunito_Sans/NunitoSans-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Nunito Sans";
    src: url("/fonts/Nunito_Sans/NunitoSans-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Nunito Sans";
    src: url("/fonts/Nunito_Sans/NunitoSans-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: "Nunito Sans";
    src: url("/fonts/Nunito_Sans/NunitoSans-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
}

body {
    background: #f0f0f6;
    font-family: 'Manrope', Arial, sans-serif;
}

.auth-page {
    display: flex;
    min-height: 100vh;
    width: 100vw;
    background: #f5f6fa;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 28px rgba(30,41,59,0.08), 0 2px 8px rgba(0,0,0,0.06);
}

.auth-panel {
    background: #fff;
    width: 100%;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 2.8rem 2.7rem 2.8rem;
    box-shadow: none;
    z-index: 2;
    border-radius: 0 0 0 16px;
}

@media (min-width: 900px) {
    .auth-page {
        flex-direction: row;
        border-radius: 16px;
    }

    .auth-panel {
        min-height: 100vh;
        border-radius: 16px 0 0 16px;
        box-shadow: 0 0 28px rgba(30,41,59,0.08), 0 2px 8px rgba(0,0,0,0.06);
    }
}

.auth-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-center.mb-3 {
    margin-bottom: 2.2rem !important;
    margin-top: 0.8rem;
}

.sentinel-title {
    margin: 0px;
    margin-top: 20px;
    font-size: 2.125rem;
    line-height: 1.235;
    font-family: Nunito Sans, sans-serif;
    font-weight: 300;
}

.welcback-title {
    margin: 0px 0px 8px;
    margin-top: 20px;
    font-size: 2rem;
    line-height: 1.235;
    color: rgb(33, 33, 33);
    font-family: Nunito Sans, sans-serif;
    font-weight: 600;
}

h3.mb-1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.7rem !important;
    margin-top: 0.8rem;
}

.mb-3.text-muted {
    font-size: 1.08rem;
    color: #6d7685 !important;
    margin-bottom: 1.7rem !important;
}

.form-control, .form-control:focus {
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 1.09rem;
    background: #f7f9fc;
    border: 1.5px solid #d6d9e0;
    border-radius: 8px;
    box-shadow: none;
    height: 46px;
    margin-bottom: 0.2rem;
    padding: 0.8rem 1.1rem;
    transition: border-color 0.2s;
}

    .form-control:focus {
        border-color: #2166f8;
        background: #fff;
    }

input.form-control-lg {
    font-size: 1rem;
    height: 46px;
    padding: 0.8rem 1.1rem;
}

.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-text {
    background: #f7f9fc;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    height: 46px; /* igual ao input */
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0.9em;
    padding-right: 0.9em;
    font-size: 1rem;
    cursor: pointer;
}

.input-group .form-control:focus {
    z-index: 3;
    box-shadow: none;
    border-color: #2166f8;
}

.input-group {
    margin-bottom: 1.4rem;
}

.btn-primary.btn-lg {
    background-color: #2166f8;
    border-color: #2166f8;
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.11rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(33,102,248,0.08);
    height: 48px;
    padding: 0.7rem 0;
    margin-top: 0.6rem;
    margin-bottom: 2rem !important;
    transition: background 0.2s, box-shadow 0.2s;
}

    .btn-primary.btn-lg:hover, .btn-primary.btn-lg:active {
        background-color: #1956c6 !important;
        border-color: #1956c6 !important;
    }

.register-link {
    font-size: 1rem;
    font-weight: 300;
    color: #222;
    margin-bottom: 0.1rem;
    margin-top: 0.1rem;
    text-align: center;
}

    .register-link a {
        font-size: 1rem;
        font-weight: 200; 
        color: #2166f8;
        text-decoration: underline;
        margin-left: 0.18em;
    }

        .register-link a:hover {
            color: #1747b0;
            text-decoration: underline;
        }

.text-center.mb-2 {
    margin-bottom: 1.1rem !important;
}

.text-center.mb-0 {
    margin-bottom: 0.7rem !important;
    margin-top: 1.5rem !important;
}

form#account {
    margin-bottom: 1.5rem;
    margin-top: 0.3rem;
}

/* Imagem lateral */
.auth-image-panel {
    display: none;
}

@media (min-width: 900px) {
    .auth-image-panel {
        display: block;
        flex: 1;
        background: url('../imgs/login-desktop.jpg') no-repeat center center;
        background-size: cover;
        min-height: 100vh;
        position: relative;
        border-radius: 0 16px 16px 0;
    }

    .image-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(25,30,56,0.23) 0%, rgba(25,30,56,0.04) 100%);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 3.5rem 0 0 3.5rem;
    }

    .branding-mobile-text {
        display: block !important;
        color: #fff;
        text-shadow: 0 2px 8px rgba(0,0,0,0.23);
        font-family: 'Manrope', Arial, sans-serif;
        font-weight: 700;
        font-size: 2.4rem;
        max-width: 460px;
    }

        .branding-mobile-text h1 {
            font-size: 2.3rem;
            margin: 0 0 0.5rem 0;
            font-weight: 700;
            letter-spacing: -1px;
        }

        .branding-mobile-text p {
            font-size: 1.12rem;
            font-weight: 400;
            margin: 0;
        }
}

@media (max-width: 899px) {
    .auth-page {
        flex-direction: column;
        border-radius: 16px;
    }

    .auth-panel {
        border-radius: 0 0 16px 16px;
        max-width: 100vw;
        min-height: 58vh;
        padding: 2.3rem 1rem 2rem 1rem;
        box-shadow: none;
    }

    .auth-image-panel {
        display: block;
        width: 100vw;
        height: 240px;
        min-height: 180px;
        background: url('../imgs/login-desktop.jpg') no-repeat center center;
        background-size: cover;
        border-radius: 16px 16px 0 0;
        position: relative;
    }

    .image-overlay {
        position: absolute;
        inset: 0;
        background: rgba(22,22,44,0.18);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        padding: 1.7rem 0 1.4rem 2rem;
    }

    .branding-mobile-text {
        display: block !important;
        color: #fff;
        text-shadow: 0 2px 6px rgba(0,0,0,0.16);
        font-family: 'Manrope', Arial, sans-serif;
        font-weight: 700;
        font-size: 1.36rem;
        max-width: 88vw;
    }

        .branding-mobile-text h1 {
            font-size: 1.3rem;
            margin: 0 0 0.2rem 0;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .branding-mobile-text p {
            font-size: 0.93rem;
            font-weight: 400;
            margin: 0;
        }
}

/* Service Status Styles */
.service-status-container {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.service-status-title {
    color: #6c757d;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.service-status-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-item {
    padding: 0.5rem 0;
}

.service-name {
    font-size: 0.875rem;
    color: #495057;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    margin-right: 8px;
}

.status-online {
    background-color: #28a745;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

.status-offline {
    background-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

.status-unknown {
    background-color: #ffc107;
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
}

/* Animação para indicador online */
.status-online::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(40, 167, 69, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}
