* {
  font-family: 'inter', 'sans-serif';
  box-sizing: border-box;
  
  white-space: normal !important;
  word-break: break-word;
}

body {
  min-height: 100vh;
}

body,
p {
  margin: 0;
  position: relative;
  overflow-x: hidden;
  /* background:rgba(248,249,250,1); */
}

.pointer{
  cursor: pointer;
}

hr {
  margin: 0;
}

nav {
  margin-bottom: 0 !important;
  /* box-shadow: 0 0 3px silver; */
    z-index: 1021;
}

.vertical-menu{
  padding-right: 0 !important;
}

.clickable {
  cursor: pointer;
}

.clickable:hover {
  background: #fbfbfb;

}

.text-right {
  text-align: right !important;
}

.text-justify {
  text-align: justify !important;
}

.text-white {
  color: #fff !important;
  fill: white;
}

.notify {
  text-align: center;
  width: 18px;

}

/* .notify:after {
  position: absolute;
  right: -5px;
  top: -5px;
  font-size: 0.5rem;
  content: '0';
  background: indianred;
  padding: 3px 4px;
  border-radius: 50%;
  color: #fff;
} */

.footer {
  position: absolute;
  bottom: 0;
}

.progress-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(#2b3846 80%, #eee 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transform: scale(1.3);
  margin: auto;
}

.progress-circle .circle-inner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: #2b3846;
}

.text-left {
  text-align: left;
}

option {
  font-family: sans-serif;
}

.border-dashed {
  border: 2px dashed #ccc;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.border-dashed.highlight {
  background-color: #f0f0f0;
}

#file-list,
#file-list_2 {
  .alert-info {
    background: initial;
    border:none !important;
    border-bottom: 1px solid silver !important;
    border-radius: 0  !important;
  }
}

select {
  background-color: #fff !important;
  /* border: 1px solid silver !important; */
  cursor: pointer;
  font-size: 0.9rem !important;
}

select:disabled {
  background-color: #e0e0e0;
  /* Example: Grey background */
  color: #888888;
  /* Example: Lighter text color */
  /* cursor: not-allowed; */
  /* Example: Change cursor to indicate non-interactiveness */
  border: 1px solid #cccccc;
  cursor: initial;
  /* Example: Lighter border */
}


select option {
  background: #fff !important;
  color: #2d2d2d
}

.hide {
  display: none;
}

input::placeholder,
textarea::placeholder {
  color: gray !important;
  font-size: 0.9rem;
}

input[type=checkbox] {
  cursor: pointer;
  border: silver 1px solid;
}

.h-10 {
  height: 2.5rem;
}

.w-10 {
  width: 2.5rem;
}

.h-20 {
  height: 1.5rem;
}

.w-40 {
  width: 3rem !important;
}

.w-96 {
  width: 96% !important
}

.h-96 {
  height: 96% !important
}

table th {
  font-size: 0.8rem
}

table td {
  font-size: 0.8rem;
}

.my-hover-div {
  padding: 20px;
}

.my-hover-div:hover {
  background-color: #e9ecef;
  /* Background color on hover */
  cursor: pointer;
  /* Indicate it's interactive */
}

nav img {
  height: 42px !important;
  width: 46px !important;
}

.range-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 25px;
}

.range-wrapper span {
  width: 120px;
  /* adjusts label width */
  text-align: center;
  font-weight: 500;
  color: #6c757d;
  white-space: nowrap;
}

.form-range {
  flex-grow: 1;
}

/* Development Cycle Comments Delete these when deployed */

.clarification:after {
  content: 'Need Clarification what to do ?';
  position: absolute;
  padding: 10px;
  border: 1px solid silver;
  background: #fff;
  top: 10%;
  right: 10%;
  border-radius: 10px;
  box-shadow: 1px 2px 2px gray;
  cursor: pointer;
}

.nav-floater:after {
  margin-left: 0 !important
}

.dropdown-item {
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  padding:0.5rem 2rem !important
}

.nav-link-anim i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-link-anim:hover i {
  transform: translateX(5px);
  color: #0d6efd;
  /* Bootstrap primary blue */
}

.nav-link-anim:hover {
  background-color: #f8f9fa;
  /* Subtle light background */
  color: #1d1d1d;
}

/* Ensure consistent alignment and spacing in dropdowns */
.dropdown-item-nav-items i {
  width: 20px;
  /* reserve same width for all icons */
  text-align: center;
  /* center the icon inside that width */
  margin-right: 8px;
  /* small gap between icon and text */
}

#map {
  height: 200px !important;
  width: 100% !important;
}

/* override bootstrap */

.form-control,
.form-select {
  border-color: silver !important
}


.dropdown-item:active {
  color: var(--bs-dropdown-link-active-color);
  text-decoration: none;
  background-color: #f7f7f7;
}

.list-group-item {
  border: none;
  padding: 6px 0;
  background:inherit
}

.list-group-item .fa-angle-down[aria-expanded="true"] { transform: rotate(180deg); }

.list-group-item a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 5px;
  border-radius: 4px;
  color: #f7f7f7;
  /* muted text */
  text-decoration: none;
  transition: all 0.25s ease;
  /* background-color: #f8f9fa; */
  /* light background */
}

.list-group-item a:hover,
.list-group-item-active {
  background-color: rgb(255, 255, 255) !important;
  /* dark hover like btn-dark */
  color: #2d2d2d !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.list-group-item a i {
  width: 28px;
  text-align: center;
  transition: color 0.25s ease;
}
/* 
.list-group-item a:hover i,
.list-group-item-active i {
  color: #ffc107 !important;
} */

.hover-bg-light:hover {
  cursor: pointer;
  background-color: #e9ecef !important;
}

#sidebar a {
  transition: background-color 0.15s ease, color 0.15s ease;
}


.chat-personal {
  background-color: #3498db;
  color: #fff !important
}

td i:hover {
  color: #2d2d2d !important;
  cursor: pointer;
}

/* .sticky-top{
  box-shadow: 0 0 3px silver;
} */

.drop-shadow {
  filter: drop-shadow(1px 1px 1px);
}

.btn-danger {
  background-color: #e55039 !important;
  border: none !important;
}

/* Back button custom style and hover effect */
.btn-back {
  background: #fff;
  color: #6c757d;
  border: 1px solid #ced4da;
  transition: background 0.2s, color 0.2s, border 0.2s;
}

.btn-back:hover,
.btn-back:focus {
  background: #e9ecef;
  color: #212529;
  border: 1px solid #adb5bd;
}

.dropdown-menu {
  z-index: 3000;
}

.table-hover tbody tr:hover {
  cursor: pointer;
}

td:last-child,th:last-child {
  text-align: right;
  padding-right: 20px;
}

.form-check-input {
  cursor: pointer;
}

.container-main {
  position: relative;
  min-height: 100vh;
}

/* .dropdown-toggle:after{
    right: 2%;
    position: absolute;
    top: 45%;
  } */

.rounded-custom {
  padding: 0;
  border-radius: 10px !important;
  overflow: auto;
}

.member-id-short {
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  background: black;
  margin-left: 5px;
  vertical-align: middle;
}

/* font-sizes */
.alert small {
    font-size: 0.75rem;
    line-height: 1.2;
}

.clock-box {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    border-radius: 8px;
    padding: 10px;
    color: white;
    text-align: center;
    margin-bottom: 1rem;
}

#clock {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Weather alert styling without changing design */
#alerts-container .alert {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
}

#alerts-container .alert small {
    font-size: 0.7rem;
}
.fs-5 {
  font-size: 0.95rem !important;
  margin: 0;
}

.fs-6 {
  font-size: 0.8rem !important;
  margin: 0;
}

.fs-7 {
  font-size: 0.75rem !important;
  margin: 0;
}

.btn.show {
  border: none !important
}

.dropdown-toggle:active {
  border: none !important
}

/* color css */

.filter-50 {
  filter: invert(0.5);
}

/* color theme */

.bg-dark-dim {
  background-color: #e3e3e3;
}

/*  Threat Matrix colors */
.threat-high,
.threat-negative {
  background-color: #e55039 !important;
  color: #fff;
  border: none !important;
}

.threat-medium {
  background-color: #d2d2d0 !important;
  color: #2d2d2d;
  border: none !important;
}

.threat-low,
.threat-positive {
  background-color: #78e08f !important;
  color: #1d1d1d;
  border: none !important;
}

.threat-neutral {
  background-color: #e6e8eb;
  color: #2d2d2d !important;
}

.display-pic-small {
  border-radius: 50%;
  width: 38px;
  height: 38px;
}


/* Cards */
.disabled-card,.disabled-card a{
  background:#95a5a6 !important;
  cursor: not-allowed !important;
  border:1px solid gray;
  color:#fff !important
}

.disabled-card button{
  background:#585b5b !important;
  cursor: not-allowed !important;
  border:none !important
}
.disabled-card h7,.disabled-card b{
  color:#fff !important;
}

.disabled-card i{
  filter: invert(0);
}


/* Media Query */

@media screen and (Max-width:768px) {

  .cards>.row:nth-child(2) {
    position: relative !important;
  }

}

/* Add margin-top to notify bell icon on mobile */
@media (max-width: 991.98px) {
  .navbar .notify {
    margin-top: 0.5rem;
  }
}


/* Alert Banners */
.crisis-bar {
  z-index: 1080;
}

/* above navs/other UI */
.crisis-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: .5rem;
}

.crisis-hero {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(238, 236, 236, 0.95));
  color: #1d1d1d;
  border: 1px solid silver
}

.crisis-hero .btn-light-outline {
  background: transparent;
  border: 1px solid silver;
  color: #1d1d1d;
}

@media (max-width: 575.98px) {
  .crisis-hero .row {
    text-align: center;
  }
}

.siren {
  position: relative;
  width: 42px;
  height: 42px;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  background: indianred;
  border-bottom: 5px solid #000000;
}

.siren::after {
  position: absolute;
  content: ' ';
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 1px 1px white;
  left: 15px;
  top: 10px;
  width: 50%;
  height: 50%;
  border: 1px solid white;
  animation: animate-siren-after 0.25s infinite;
}

@keyframes animate-siren-after {
  0% {
    background: #fff;
    left: 0;
  }

  100% {
    left: 25px;
    background: rgb(249, 43, 43);
    background: rgb(249, 43, 43);
    border: 1px solid rgb(249, 43, 43);
    box-shadow: 0 0 15px 7px rgb(249, 43, 43);
  }
}

/* Banner slides down and bounces slightly */
@keyframes slideDownBounce {
  0% {
    transform: translateY(-120%);
    opacity: 0;
  }

  60% {
    transform: translateY(15px);
    opacity: 1;
  }

  80% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Alert icon pulses and glows */
@keyframes pulseGlow {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }

  50% {
    transform: scale(1.4);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9));
  }
}

/* Background shimmer animation */
@keyframes bgShimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Text gentle glowing pulse */
@keyframes textGlow {

  0%,
  100% {
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
  }

  50% {
    text-shadow: 0 0 16px rgba(255, 255, 255, 1);
  }
}

/* --- BAR STYLES --- */
.crisis-bar {
  animation: slideDownBounce 1.2s ease-out;
  z-index: 1080;
}

/* Add animated gradient background */
.crisis-bar .bg-danger {
  background: linear-gradient(270deg, #dc3545, #a71d2a, #dc3545);
  background-size: 400% 400%;
  animation: bgShimmer 8s linear infinite;
}

/* Flashing Icon */
.crisis-icon {
  width: 1.6rem;
  height: 1.6rem;
  margin-right: .5rem;
  animation: pulseGlow 1.6s infinite ease-in-out;
}

/* Text glow animation */
.crisis-bar strong,
.crisis-bar span,
.crisis-bar p {
  animation: textGlow 2.5s ease-in-out infinite;
}