/* RESET */
body {
    background: #f5f7fa;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI";
    margin: 0;
}

/* SIDEBAR */
.ft-sidebar {
    width: 240px;
    min-height: 100vh;
    background: #0A2342;
    color: #fff;
    position: fixed;
    padding-top: 0px;
}

/* SUBIR SOLO EL LOGO – SIN AFECTAR EL LAYOUT */
.ft-brand {
    margin-top: -10px;      /* súbelo un poco */
    text-align: left;       /* respeta tu diseño */
    padding-left: 22px;     /* igual que el resto de items */
}

.ft-logo {
    width: 200px;
    display: block;
    margin: 0;
    transform: translateY(-10px);  /* ajusta hacia arriba */
}

.ft-brand-text {
    font-size: 18px;
    font-weight: 600;
}
.ft-brand-text span {
    color: #6CB4FF;
}

.ft-sidebar a {
    display: block;
    padding: 12px 22px;
    color: #cfd6e5;
    text-decoration: none;
    font-size: 15px;
}

.ft-sidebar a:hover,
.ft-sidebar a.active {
    background: #152f4f;
    color: #fff;
}

.ft-sidebar .logout {
    color: #ffb3b3 !important;
    margin-top: 25px;
}

/* MAIN WRAPPER */
.ft-wrapper {
    margin-left: 240px;
}

/* TOP BAR */
.ft-topbar {
    background: #fff;
    padding: 14px 20px;
    border-bottom: 1px solid #e2e6eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* MAIN CONTENT */
.ft-main {
    padding: 30px;
}

.ft-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 26px 28px;
    text-align: center;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.05),
        0 2px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hero SOLO para el login — no afecta dashboard */
.login-container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.ft-content h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 25px;
}

.login-card {
    background: #ffffff;
    width: 380px;
    padding: 32px;
    border-radius: 14px;
    animation: fadeIn .35s ease-in-out;
}

.login-logo {
    width: 230px;
    max-width: 85%;
    margin: 0 auto 10px;
}

.form-label {
    font-size: 14px;
    color: #333;
}

.btn-primary {
    background-color: #0A2342;
    border-color: #0A2342;
}

.btn-primary:hover {
    background-color: #0d2e5a;
    border-color: #0d2e5a;
}


/* Animación suave */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* SUBIR EL LOGO DEL SIDEBAR */
.ft-sidebar {
    padding-top: 0 !important;
}

.ft-brand {
    margin-top: -30px;
    margin-bottom: 10px;
    padding-left: 22px;
}

.ft-logo {
    width: 200px;
    transform: translateY(-15px);
}

.ft-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 16px 35px rgba(0, 0, 0, 0.08),
        0 4px 10px rgba(0, 0, 0, 0.05);
}

.ft-card-label {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 6px;
}

.ft-card-value {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

/* Soft colors (FireTag style) */
.text-soft-primary { color: #ffffff; }
.text-soft-success { color: #3c8c5a; }
.text-soft-warning { color: #f2b705; }
.text-soft-danger  { color: #d64545; }

/* CARD VARIANTS */
.ft-card-primary {
    background: #ffffff;
    border: 1px solid #c3c5ca;
}

.ft-card-success {
    background: #edf7f1;
    border: 1px solid #c3c5ca;
}

.ft-card-warning {
    background: #fff8e5;
    border: 1px solid #c3c5ca;
}

.ft-card-danger {
    background: #fdeeee;
    border: 1px solid #c3c5ca;
}

/* Value colors (más fuerte) */
.ft-card-primary .ft-card-value { color: #000000; }
.ft-card-success .ft-card-value { color: #2f7a53; }
.ft-card-warning .ft-card-value { color: #d39e00; }
.ft-card-danger  .ft-card-value { color: #c53030; }


/* ===============================
   FireTAG – Equipment Detail Modal
   =============================== */
.ft-equipment-modal {
    max-width: 620px; /* 👈 aquí controlas qué tan angosto */
}

@media (max-width: 768px) {
    .ft-equipment-modal {
        max-width: 95%;
    }
}


/* ===============================
   🔹 Scroll FIX – FireTAG Portal
   =============================== */

/* El modal completo */
.modal-dialog-scrollable {
    height: calc(100vh - 3rem);
}

/* Contenedor */
.modal-dialog-scrollable .modal-content {
    max-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Header fijo */
.modal-header {
    flex-shrink: 0;
}

/* BODY → SCROLL REAL */
.modal-dialog-scrollable .modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding-bottom: 6rem; /* espacio para footer */
}

/* Footer fijo */
.modal-footer {
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    z-index: 10;
}


/* ============================= */
/* Service Request Status Labels */
/* ============================= */

.status-label-primary,
.status-label-info,
.status-label-warning,
.status-label-success,
.status-label-default {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

/* New */
.status-label-primary {
  background-color: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
}

/* Reviewing */
.status-label-info {
  background-color: rgba(13, 202, 240, 0.15);
  color: #0dcaf0;
}

/* Scheduled */
.status-label-warning {
  background-color: rgba(255, 193, 7, 0.2);
  color: #b58100;
}

/* Completed */
.status-label-success {
  background-color: rgba(25, 135, 84, 0.15);
  color: #198754;
}

/* Fallback */
.status-label-default {
  background-color: #f1f3f5;
  color: #6c757d;
}

/* Icons inside labels */
.status-label-primary i,
.status-label-info i,
.status-label-warning i,
.status-label-success i,
.status-label-default i {
  font-size: 0.9rem;
}