﻿/* ─────────────────────────────────────────────
   🤖 NICA ROBÓTICA
   Tema corporativo único del sistema
   WebForms + DevExpress ASPx
   ───────────────────────────────────────────── */

/* ==================================================
   VARIABLES CORPORATIVAS
   ================================================== */
:root {
    /* Azul tecnológico */
    --nr-azul: #0F6C85;
    --nr-azul-oscuro: #0A4E63;
    --nr-azul-suave: #E6F4F7;
    /* Naranja de acción */
    --nr-naranja: #F39C12;
    --nr-naranja-hover: #D98200;
    /* Neutros */
    --nr-gris-borde: #C9DCE1;
    --nr-gris-texto: #2E2E2E;
    --nr-gris-muted: #6E6E6E;
    --nr-fondo: #F5F7F8;
    --nr-blanco: #FFFFFF;
}

/* ==================================================
   BASE GENERAL
   ================================================== */
html, body {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--nr-fondo);
    color: var(--nr-gris-texto);
    font-family: "Segoe UI", Calibri, Arial, sans-serif;
    overflow: hidden;
}

/* ==================================================
   LOGIN – NICA ROBOTICA
   ================================================== */

.login-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nr-fondo);
}

.login-card {
    width: 360px;
    background: var(--nr-blanco);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    padding: 28px 30px;
}

.login-header {
    text-align: center;
    margin-bottom: 22px;
}

.login-header .logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--nr-azul);
}

.login-header .subtitle {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--nr-azul-oscuro);
    margin-top: 6px;
}

.login-group {
    margin-bottom: 14px;
}

.login-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--nr-gris-texto);
}

.login-footer {
    text-align: center;
    margin-top: 14px;
}

.login-footer a {
    font-size: 12px;
    color: var(--nr-azul);
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}


/* ==================================================
   LOGIN – LOGOS (IMAGEN)
   ================================================== */

.login-system-logo {
    text-align: center;
    margin-bottom: 10px;
}

.login-system-logo img {
    width: 180px; /* tamaño ideal */
    height: auto; /* mantiene proporción */
    max-width: 100%;
}

.login-company-logo {
    margin-top: 18px;
    text-align: center;
}

.login-company-logo img {
    max-width: 300px;
    height: auto;
    opacity: 0.9;
}

/* BOTÓN LOGIN – NicaRobotica */

.btn-nr-login {
    background-color: var(--nr-azul);
    border: 1px solid var(--nr-azul);
    color: #ffffff;
    height: 44px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* Hover */
.btn-nr-login:hover {
    background-color: var(--nr-azul-oscuro);
    border-color: var(--nr-azul-oscuro);
}

/* Active */
.btn-nr-login:active {
    background-color: #083E50;
}

/* Focus */
.btn-nr-login:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.45);
}

/* ==================================================
   SweetAlert2 – Compacto y ordenado (LaboraTrack)
   ================================================== */

/* BOTÓN BASE (estructura, NO colores) */
.swal2-confirm {
    font-size: 13px !important;
    padding: 6px 16px !important;
    border-radius: 6px !important;
    font-weight: 600;
}

/* BOTÓN CONFIRMACIÓN */
.btn-confirm {
    background-color: var(--nr-azul) !important;
    color: #ffffff !important;
}

/* BOTÓN ERROR */
.btn-error {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

/* POPUP */
.nr-swal-popup {
    padding: 1.2em !important;
}

/* ICONO */
.nr-swal-popup .swal2-icon {
    margin: 6px auto 4px auto !important;
    transform: scale(0.65); /* ✔ tamaño correcto */
}

/* TÍTULO */
.nr-swal-popup .swal2-title {
    font-size: 18px;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
}

/* MENSAJE */
.nr-swal-popup .swal2-html-container {
    font-size: 14px;
    margin: 0 !important;
    padding: 0 4px !important;
    line-height: 1.4;
}

/* SEPARACIÓN BOTÓN */
.nr-swal-popup .swal2-actions {
    margin-top: 16px !important;
}
