/* Full background image */
.bg {
   background-image: url(../img/background.jpg)!important;
}

/* html {font-size:17px!important} */
body {font-family: 'roboto', sans-serif}
.sp-2 {letter-spacing: 2px}
.shadow-img {filter: drop-shadow(2px 2px 2px #263238)}
.shadow-img-2 {filter: drop-shadow(4px 4px 4px lightgrey)}
.bg-login {
    background-image: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%)!important;
}

.login-bg {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a237e 0%, #283593 40%, #1565c0 100%);
}
.bg-drawer {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 1)), url("../img/sidebar.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.bg-container {background:#FAFAFA!important}
.bg-container-dark {background:#1a283c!important}
.bg-module {background: #111827 !important}
.bg-module-dark {background:#0f1f3d!important}
.bg-card {
    background:url('bg2.jpg');
    background-size: cover;
}

/*////// Welcome Banner //////*/

/* Loaded body */
body.loaded {
    opacity: 1;
    transition: 1s opacity;
  }
  
  /* Default banner */
  .banner {
    position: relative;
    width: 100%;
    height: 40rem;
    padding: 0 5%;
    overflow: hidden;
    backface-visibility: hidden;
  }
  
  /* Default image container */
  .banner .background {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    transform: translate3d(0,0,0) scale(1.25);
    background: black url(https://images.unsplash.com/photo-1531971085967-431db1ec65a2?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=212d5ac2d6b763d2f2168d4f0a85b36c&auto=format&fit=crop&w=2250&q=80) no-repeat center center; 
    background-size: cover;
  }
  
  /* Loaded image container */
  .loaded .banner .background {
    transform: scale(1);
    transition: 6.5s transform;
  }
  
  /* Other stuff */
  .banner h1 {
    color: #EEE;
    margin: 0;
    line-height: 40rem;
    text-transform: uppercase;
    text-shadow: 0 0 .3rem black;
  }
  
  /*////// Welcome Banner END //////*/

  .sidebar-light {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  }
  
  .sidebar-dark {
    background-color: #1E1E1E !important;
    box-shadow: 7px 0 12px -4px #111111;
  }

.active_list .v-list-item-group .v-list-item--active{
  background-color: #5872FE;
  border-radius: 7px;
  color: white;
}

.v-data-table tbody tr:hover:not(.v-data-table__expanded__content):not(.v-data-table__empty-wrapper) {
  background: rgba(15, 99, 147, 0.04) !important;
}

.theme--dark.v-data-table tbody tr:hover:not(.v-data-table__expanded__content):not(.v-data-table__empty-wrapper) {
  background: rgba(232, 240, 240, 0.05) !important;
}

.v-data-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.v-list-item {
  transition: all .15s ease;
}

/* ========================================
   SWEETALERT THEME
======================================== */

/* ===== POPUP ===== */
.swal-dark {
  background: #1e293b !important;
  color: #e5e7eb !important;
  border-radius: 18px !important;
}

.swal-light {
  background: #ffffff !important;
  color: #1f2937 !important;
  border-radius: 18px !important;
}

/* ===== TITLE ===== */
.swal-title {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: #1f2937 !important;
}

.swal-title-dark {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: #f1f5f9 !important;
}

/* ===== TEXT ===== */
.swal-dark .swal2-html-container {
  color: #94a3b8 !important;
}

.swal-light .swal2-html-container {
  color: #6b7280 !important;
}

/* ===== BUTTONS ===== */
.swal2-actions {
  gap: 10px !important;
}

.swal-confirm,
.swal-confirm-permanent {
  background: #3949ab !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 22px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.3px !important;
  transition: background 0.2s !important;
}

.swal-confirm:hover,
.swal-confirm-permanent:hover {
  background: #303f9f !important;
}

.swal-cancel {
  background: #eceff1 !important;
  color: #455a64 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 22px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background 0.2s !important;
}

.swal-cancel:hover {
  background: #cfd8dc !important;
}

.swal-dark .swal-cancel {
  background: #334155 !important;
  color: #cbd5e1 !important;
}

.swal-dark .swal-cancel:hover {
  background: #475569 !important;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

/* VALIDATION MESSAGE - DARK */
.swal-dark .swal2-validation-message {
  background: rgba(220, 38, 38, 0.12) !important;
  border: 1px solid #ef4444 !important;
  color: #ef4444 !important;

  border-radius: 10px !important;
  padding: 10px 14px !important;
  margin-top: 10px !important;

  font-size: 13px !important;
  font-weight: 500;

  align-items: center !important;
  gap: 8px !important;
}

/* VALIDATION MESSAGE - LIGHT */
.swal-light .swal2-validation-message {
  background: rgba(220, 38, 38, 0.10) !important;
  border: 1px solid #ef4444 !important;
  color: #b91c1c !important;

  border-radius: 10px !important;
  padding: 10px 14px !important;
  margin-top: 10px !important;

  font-size: 13px !important;
  font-weight: 500;

  align-items: center !important;
  gap: 8px !important;
}

.imageUploader {
  border: 1px dashed #bababa !important;
  cursor: pointer;
  transition: background-color 0.3s ease;

  &.dragging {
    background-color: rgba(0, 0, 0, 0.1) !important;
  }
}

.imageUploaderDark {
  border: 1px dashed #bababa !important;
  cursor: pointer;
  transition: background-color 0.3s ease;

  &.dragging {
    background-color: rgba(255, 255, 255, 0.1) !important;
  }
}

.compact-list .v-list-item {
  min-height: 28px !important;
}

.file-item:hover {
  background: rgba(59, 130, 246, 0.08);
}

.delete-icon {
  cursor: pointer;
  transition: 0.2s;
}

.delete-icon:hover {
  transform: scale(1.1);
}

.input-money .v-input__control {
  min-height: 38px;
}

.input-money input {
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.3px;
}

/* ========================================
   FORM LABELS (SaaS style)
======================================== */

.label-field {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #64748b;
    margin-bottom: 4px;
}

.theme--dark .label-field {
    color: #94a3b8;
}

/* ========================================
   SAAS NAVBAR / SIDEBAR
======================================== */

.topbar-border {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

.theme--dark .topbar-border {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
}

.sidebar-border {
  border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.04) !important;
}

.theme--dark .sidebar-border {
  border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.4) !important;
}

.divider-light {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

.divider-dark {
  border-color: rgba(255, 255, 255, 0.07) !important;
}

/* Nav items */
.nav-item {
  transition: background 0.15s ease, color 0.15s ease !important;
}

.nav-item:hover:not(.nav-item--active) {
  background: rgba(15, 99, 147, 0.08) !important;
}

.theme--dark .nav-item:hover:not(.nav-item--active) {
  background: rgba(232, 240, 240, 0.08) !important;
}

.nav-item--active {
  background: linear-gradient(135deg, #0f6393, #1577ad) !important;
  box-shadow: 0 2px 8px rgba(15, 99, 147, 0.35) !important;
}

.theme--dark .nav-item--active {
  background: linear-gradient(135deg, #0f6393, #2f86bd) !important;
  box-shadow: 0 2px 10px rgba(15, 99, 147, 0.45) !important;
}

.font-weight-semibold {
  font-weight: 600 !important;
}

.lh-1 {
  line-height: 1 !important;
}

/* ========================================
   DASHBOARD KPI & QUICK ACCESS CARDS
======================================== */

.kpi-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18) !important;
}

.kpi-card-subtle {
    transition: box-shadow 0.2s ease;
}
.kpi-card-subtle:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
}

.quick-list-item {
    transition: background 0.15s ease;
    text-decoration: none !important;
}
.quick-list-item:hover {
    background: rgba(96, 125, 139, 0.07) !important;
}

.quick-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none !important;
}
.quick-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12) !important;
}

.task-row-expired td {
    background: rgba(239, 68, 68, 0.04) !important;
}
.task-row-done td {
    opacity: 0.55;
}
.cursor-pointer { cursor: pointer; }

/* ── Sales bind workspace ─────────────────────────────────────────────── */
.sticky-summary { position: sticky; top: 16px; }
.stat-box {
    background: rgba(15, 99, 147, 0.06);
    border-radius: 12px;
    padding: 10px 12px;
    text-align: center;
}
.theme--dark .stat-box { background: rgba(255, 255, 255, 0.05); }
.cov-row { border-bottom: 1px dashed rgba(0, 0, 0, 0.08); }
.theme--dark .cov-row { border-bottom-color: rgba(255, 255, 255, 0.08); }
.cov-row:last-child { border-bottom: none; }
.timeline { position: relative; margin-left: 6px; padding-left: 16px; border-left: 2px solid rgba(15, 99, 147, 0.18); }
.timeline .tl-item { display: flex; align-items: center; position: relative; padding: 6px 0; }
.timeline .tl-dot {
    position: absolute; left: -23px; width: 9px; height: 9px; border-radius: 50%;
    background: #0f6393; box-shadow: 0 0 0 3px rgba(15, 99, 147, 0.15);
}
