/* Change Brand Font */
.navbar-brand {
  font-family: 'Ubuntu', sans-serif;
  font-size: 2em;
  font-weight: bold;
}

/* Change Navigation Color */
.navbar #myMenu .custom-nav .nav-item a {
  color: #fff;
}

.navbar #myMenu .custom-nav .nav-item a:hover {
  color: #F0AAB1;
}

/* Make Header Image Responsive */
.back-image {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 90vh;
  border-radius: 0px;
  margin-top: 74px;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 10, 7, 0.8) 0%, rgba(18, 10, 7, 0.55) 48%, rgba(18, 10, 7, 0.28) 100%);
}

.hero-panel {
  position: relative;
  z-index: 1;
  display: inline-block;
  max-width: 540px;
  padding: 32px 36px;
  background-color: rgba(0, 0, 0, 0.34);
  border-left: 5px solid #dc3545;
  border-radius: 16px;
  backdrop-filter: blur(3px);
}

.hero-logo {
  width: 120px;
  height: auto;
}

/* Header Image Sub-Title */
.font-italic {
  font-size: 24px;
}

a {
  color: black;
}

.active {
  color: white;
  background-color: #DC3545;
}

a:hover {
  color: #f26571;
}

/* Change Footer Icon Link Color */
.fi-color {
  color: #DC3545;
}

fi-color:hover {
  color: #E994A2;
}

/* Plus Button for adding New Users Bottom Right */
.box {
  position: fixed;
  bottom: 10px;
  right: 20px;
  margin-bottom: 30px;
}

/* Setting Margin for Welcome to OSMS */
.mainHeading {
  margin-top: 50px;
}

.auth-shell {
  display: flex;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #fff7f7 0%, #ffffff 55%, #fde9e9 100%);
  border-radius: 24px;
  overflow: hidden;
}

.auth-page {
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(220, 53, 69, 0.08), rgba(255, 255, 255, 0.95));
}

.login-scene {
  min-height: 100vh;
  margin: 0;
  background-image: url('../images/samam.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.login-scene__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(63, 148, 189, 0.2) 0%, rgba(10, 22, 34, 0.42) 35%, rgba(6, 12, 20, 0.72) 100%),
    linear-gradient(180deg, rgba(11, 24, 38, 0.36), rgba(7, 14, 22, 0.82));
}

.login-glass-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  padding: 38px 34px 28px;
  border-radius: 22px;
  background: rgba(28, 77, 105, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(9px);
  text-align: center;
}

.login-avatar {
  width: 104px;
  height: 104px;
  margin: -78px auto 18px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(10, 25, 48, 0.35);
  overflow: hidden;
  padding: 10px;
}

.login-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 50%;
}

.login-title {
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.login-subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.login-input-wrap {
  position: relative;
  margin-bottom: 16px;
}

.login-input-wrap i {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #8ca0b0;
  z-index: 2;
}

.login-input {
  height: 48px;
  padding-left: 42px;
  border: 0;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.96);
}

.login-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(72, 166, 216, 0.28);
}

.login-submit-btn {
  margin-top: 8px;
  border: 0;
  border-radius: 4px;
  padding: 12px 18px;
  font-weight: bold;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(90deg, #4267ff 0%, #3db7df 100%);
}

.login-submit-btn:hover {
  color: #fff;
  background: linear-gradient(90deg, #3558e2 0%, #2da6ce 100%);
}

.admin-entry {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.admin-entry__label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-entry__button {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 4px;
  padding: 11px 18px;
  font-weight: bold;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.admin-entry__button:hover {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.16);
}

.login-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.login-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

.login-links a:hover {
  color: #fff;
  text-decoration: none;
}

:root {
  --samam-navy: #081428;
  --samam-navy-soft: #10233d;
  --samam-sky: #3db7df;
  --samam-blue: #4267ff;
  --samam-gold: rgba(194, 162, 96, 0.34);
  --samam-panel: rgba(18, 43, 74, 0.78);
  --samam-panel-border: rgba(111, 184, 227, 0.22);
  --samam-surface: #f4f8fc;
  --samam-text: #10304e;
}

body {
  background: linear-gradient(180deg, #edf4fb 0%, #f7fbff 100%);
  color: var(--samam-text);
}

.navbar.bg-danger,
.navbar.navbar-dark.fixed-top.bg-danger,
.bg-danger {
  background: linear-gradient(90deg, #10233d 0%, #15385d 55%, #1a4a73 100%) !important;
  border-color: transparent !important;
}

.navbar-brand,
.navbar-dark .navbar-brand,
.navbar-dark .navbar-text {
  color: #fff !important;
}

.sidebar,
.bg-light.sidebar {
  min-height: calc(100vh - 40px);
  background:
    linear-gradient(180deg, rgba(12, 25, 45, 0.96), rgba(18, 41, 69, 0.98)),
    linear-gradient(120deg, transparent 0%, var(--samam-gold) 50%, transparent 100%) !important;
  border-right: 1px solid rgba(111, 184, 227, 0.18);
}

.sidebar .nav-link {
  margin: 4px 10px;
  padding: 10px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.82);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sidebar .nav-link i {
  color: rgba(111, 184, 227, 0.92);
}

.sidebar .nav-link:hover {
  color: #fff;
  background: rgba(61, 183, 223, 0.14);
  transform: translateX(2px);
}

.sidebar .nav-link.active,
.sidebar .nav-link.active:hover,
.active {
  color: #fff !important;
  background: linear-gradient(90deg, #4267ff 0%, #3db7df 100%) !important;
  box-shadow: 0 10px 24px rgba(20, 61, 112, 0.22);
}

.sidebar .nav-link.active i,
.sidebar .nav-link.active:hover i {
  color: #fff;
}

.request-kpi-card,
.request-table-shell,
.request-panel,
.modal-content,
.card,
.auth-shell,
.bg-white {
  border: 1px solid var(--samam-panel-border);
  box-shadow: 0 18px 48px rgba(14, 32, 58, 0.08);
}

.request-kpi-card {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}

.request-kpi-card__label,
.request-panel__title,
.table thead th,
.request-table thead th {
  color: #23476a;
}

.request-kpi-card__value {
  color: #16395e;
}

.request-toolbar,
.bg-dark,
.request-modal__hero {
  background: linear-gradient(135deg, #10233d 0%, #183b61 58%, #1d567f 100%) !important;
  color: #fff !important;
}

.request-toolbar,
.request-table-shell,
.request-panel {
  border-radius: 18px;
}

.table,
.request-table {
  background: transparent;
}

.table thead th,
.request-table thead th {
  border-top: 0;
  background: rgba(66, 103, 255, 0.04);
}

.table tbody tr,
.request-table tbody tr {
  background: rgba(255, 255, 255, 0.92);
}

.table tbody tr:hover,
.request-table tbody tr:hover {
  background: rgba(61, 183, 223, 0.08);
}

.btn-danger,
.request-toolbar__button,
.login-submit-btn {
  background: linear-gradient(90deg, #4267ff 0%, #3db7df 100%) !important;
  border-color: transparent !important;
}

.btn-danger:hover,
.request-toolbar__button:hover,
.login-submit-btn:hover {
  background: linear-gradient(90deg, #3558e2 0%, #2da6ce 100%) !important;
  border-color: transparent !important;
}

.btn-outline-danger {
  color: #21476b !important;
  border-color: rgba(33, 71, 107, 0.32) !important;
  background: rgba(255, 255, 255, 0.9) !important;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:active {
  color: #fff !important;
  border-color: transparent !important;
  background: linear-gradient(90deg, #4267ff 0%, #3db7df 100%) !important;
}

.btn-outline-secondary {
  color: #21476b;
  border-color: rgba(33, 71, 107, 0.24);
}

.btn-outline-secondary:hover {
  color: #fff;
  background: #21476b;
  border-color: #21476b;
}

.alert-light {
  background: #f6fbff;
  border-color: rgba(61, 183, 223, 0.18);
  color: #21476b;
}

.alert-danger {
  color: #21476b !important;
  background: rgba(61, 183, 223, 0.12) !important;
  border-color: rgba(61, 183, 223, 0.28) !important;
}

.text-danger,
.request-kpi-card .text-danger,
.fi-color {
  color: #3558e2 !important;
}

.border-danger {
  border-color: rgba(61, 183, 223, 0.35) !important;
}

.modal-content {
  background: #f9fcff;
}

.request-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.request-dashboard {
  display: grid;
  gap: 18px;
}

.request-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.request-kpi-card {
  padding: 16px 18px;
  border: 1px solid var(--samam-panel-border);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  box-shadow: 0 12px 34px rgba(14, 32, 58, 0.08);
}

.request-kpi-card__label {
  display: block;
  margin-bottom: 18px;
  color: #23476a;
  font-size: 0.95rem;
}

.request-kpi-card__value {
  color: #16395e;
  font-size: 1.05rem;
  font-weight: 700;
}

.request-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.request-toolbar__chips {
  display: flex;
  align-items: center;
  gap: 10px;
}

.request-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(66, 103, 255, 0.08);
  color: #315d8b;
  font-size: 0.82rem;
  font-weight: 700;
}

.request-chip--active {
  background: rgba(61, 183, 223, 0.18);
}

.request-toolbar__button {
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
}

.request-table-shell {
  overflow: hidden;
  border: 1px solid var(--samam-panel-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(14, 32, 58, 0.08);
}

.request-table thead th {
  border-top: 0;
  border-bottom: 1px solid rgba(111, 184, 227, 0.18);
  color: #23476a;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.request-table tbody td {
  vertical-align: middle;
  color: #1d3c5f;
  font-size: 0.92rem;
}

.request-table tbody tr:hover {
  background: rgba(61, 183, 223, 0.08);
}

.request-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.request-status-badge--pending {
  background: rgba(66, 103, 255, 0.12);
  color: #3558e2;
}

.request-status-badge--active {
  background: rgba(61, 183, 223, 0.18);
  color: #176f95;
}

.request-action-btn {
  width: 36px;
  height: 36px;
  padding: 0;
}

.ticket-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--samam-panel-border);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  box-shadow: 0 18px 38px rgba(14, 32, 58, 0.08);
}

.ticket-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.ticket-card__id {
  font-size: 0.92rem;
  font-weight: 700;
  color: #3558e2;
}

.ticket-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(66, 103, 255, 0.12);
  color: #3558e2;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticket-card__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  color: #16395e;
}

.ticket-card__desc {
  margin: 0;
  color: #54708b;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ticket-card__meta {
  display: grid;
  gap: 10px;
  color: #476581;
  font-size: 0.92rem;
}

.ticket-card__meta i {
  width: 18px;
  color: #3db7df;
}

.ticket-card__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.request-empty-state {
  padding: 48px 24px;
  border: 1px dashed rgba(61, 183, 223, 0.28);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  text-align: center;
  box-shadow: 0 18px 36px rgba(14, 32, 58, 0.05);
}

.request-empty-state--table {
  margin: 18px;
}

.request-empty-state__icon {
  margin-bottom: 16px;
  font-size: 3rem;
  color: #3db7df;
}

.request-modal {
  border: 0;
  border-radius: 24px;
  overflow: hidden;
}

.request-modal .modal-header {
  border-bottom: 0;
  padding: 20px 24px 12px;
}

.request-modal .modal-body {
  padding: 8px 24px 24px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.request-modal .modal-footer {
  border-top: 0;
  padding: 0 24px 24px;
}

.request-modal__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.request-modal__footer-left {
  display: flex;
  align-items: center;
}

.request-modal__hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1d2733 0%, #334154 100%);
  color: #fff;
}

.request-modal__eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.request-modal__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.request-modal__sub {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.request-modal__hero-action {
  flex-shrink: 0;
  align-self: center;
  min-width: 120px;
}

.request-panel {
  height: 100%;
  padding: 20px;
  border: 1px solid var(--samam-panel-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.request-panel__title {
  margin-bottom: 18px;
  font-size: 1rem;
  font-weight: 700;
  color: #23476a;
}

.picker-selection-summary {
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(61, 183, 223, 0.2);
  border-radius: 12px;
  background: #f4faff;
}

.picker-selection-summary__label {
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #55708a;
}

.picker-selection-summary__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #16395e;
}

#picker_equipamento_results .js-pick-equipamento.active {
  border-color: #3db7df;
  background: #eefaff;
  color: #0f5675;
}

.form-control,
.custom-select {
  border-color: rgba(17, 52, 86, 0.14);
  border-radius: 10px;
  color: #16395e;
  box-shadow: none;
}

.form-control:focus,
.custom-select:focus {
  border-color: rgba(61, 183, 223, 0.8);
  box-shadow: 0 0 0 0.18rem rgba(61, 183, 223, 0.16);
}

.btn-primary {
  background: linear-gradient(90deg, #173f69 0%, #245b90 100%);
  border-color: transparent;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #113556 0%, #1d4e7c 100%);
  border-color: transparent;
}

.btn-warning {
  color: #fff;
  background: linear-gradient(90deg, #1e4a75 0%, #2a6a9f 100%);
  border-color: transparent;
}

.btn-warning:hover {
  color: #fff;
  background: linear-gradient(90deg, #183e61 0%, #245988 100%);
  border-color: transparent;
}

.btn-success {
  background: linear-gradient(90deg, #1b5f7b 0%, #2e8fb5 100%);
  border-color: transparent;
}

.btn-success:hover {
  background: linear-gradient(90deg, #174f67 0%, #287b9c 100%);
  border-color: transparent;
}

.btn-secondary {
  background: linear-gradient(90deg, #5f7082 0%, #7d8d9f 100%);
  border-color: transparent;
}

.btn-secondary:hover {
  background: linear-gradient(90deg, #526274 0%, #6c7d90 100%);
  border-color: transparent;
}

@media (max-width: 767.98px) {
  .request-kpis {
    grid-template-columns: 1fr;
  }

  .request-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .request-toolbar__chips {
    flex-wrap: wrap;
  }

  .ticket-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .request-modal__hero {
    flex-direction: column;
  }

  .request-modal__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .request-modal__footer-left {
    width: 100%;
  }
}

.auth-copy {
  flex: 1 1 280px;
  background: linear-gradient(160deg, #dc3545 0%, #8f1420 100%);
  color: #fff;
  padding: 48px 36px;
}

.auth-copy h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.auth-copy p {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.auth-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-card {
  flex: 1 1 360px;
  padding: 36px;
  background-color: #fff;
}

.auth-tabs {
  background-color: #f7d7db;
  border-radius: 999px;
  padding: 6px;
}

.auth-tabs .nav-link {
  border-radius: 999px;
  color: #8f1420;
  font-weight: bold;
}

.auth-tabs .nav-link.active {
  color: #fff;
  background-color: #dc3545;
}

/* Setting Margin and Alignment for Welcome to OSM Mobile View */
@media only screen and (max-width: 600px) {
  .myclass {
    margin-top: 350px;
    text-align: center;
  }

  .auth-copy,
  .auth-card {
    padding: 28px 20px;
  }

  .hero-panel {
    padding: 24px 18px;
    margin: 0 12px;
  }

  .hero-logo {
    width: 90px;
  }

  .login-glass-card {
    max-width: 100%;
    padding: 32px 20px 24px;
  }

  .login-links {
    flex-direction: column;
  }
}
