/* ============================================
   XLicence - Custom Styles
   Paleta: Primario #0076A4 / Secundario #F0A500
   ============================================ */

/* Navbar */
.navbar {
  background: linear-gradient(135deg, #005A7D 0%, #0076A4 100%) !important;
}

/* Cards */
.card-primary {
  border-left: 4px solid #0076A4;
}
.card-secondary {
  border-left: 4px solid #F0A500;
}
.card-success {
  border-left: 4px solid #198754;
}
.card-warning {
  border-left: 4px solid #ffc107;
}
.card-error {
  border-left: 4px solid #dc3545;
}

/* Badges */
.badge-primary {
  background-color: #0076A4;
  color: #fff;
}
.badge-secondary {
  background-color: #F0A500;
  color: #fff;
}

/* Login Page */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 90, 125, 0.85) 0%, rgba(0, 118, 164, 0.85) 100%), url('/assets/imgs/login-bg.jpg') center center / cover no-repeat fixed;
}
.login-card {
  background: #ffffff;
  border-radius: 1.125rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  max-width: 420px;
  width: 100%;
  overflow: hidden;
}
.login-header {
  background: linear-gradient(135deg, #005A7D 0%, #0076A4 100%);
  color: #fff;
  padding: 3rem 1.5rem;
  text-align: center;
}
.login-header h1 {
  font-size: 1.5rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.login-body {
  padding: 3rem 1.5rem;
}

/* Buttons */
.btn-xlicence {
  background: #0076A4;
  border-color: #0076A4;
  color: #fff;
}
.btn-xlicence:hover {
  background: #005A7D;
  border-color: #005A7D;
  color: #fff;
}
.btn-accent {
  background: #F0A500;
  border-color: #F0A500;
  color: #fff;
}
.btn-accent:hover {
  background: #D49000;
  border-color: #D49000;
  color: #fff;
}

/* Sync Status */
.sync-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
}
.sync-status--active {
  background: rgba(25, 135, 84, 0.15);
  color: #198754;
}
.sync-status--pending {
  background: rgba(255, 193, 7, 0.15);
  color: #a07800;
}
.sync-status--error {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
}

/* Tables */
.table-sync th {
  background: #f8f9fa;
  font-weight: 600;
}
.table-sync .actions {
  white-space: nowrap;
}

/* Utility classes */
.text-xlicence {
  color: #0076A4 !important;
}
.text-accent {
  color: #F0A500 !important;
}
.bg-xlicence {
  background-color: #0076A4 !important;
}
.bg-accent {
  background-color: #F0A500 !important;
}
