/* ============================
   GLOBAL BASE
============================ */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
}

.layout {
  display: flex;
  height: auto;
  min-height: 100vh;
}

/* ============================
   SIDEBAR
============================ */
.sidebar {
  width: 250px;
  background-color: #b30000;
  color: white;
  padding: 20px;
}

.sidebar h2 {
  margin-top: 0;
  font-size: 24px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin: 15px 0;
}

.sidebar a {
  color: white;
  text-decoration: none;
}

/* ============================
   MAIN AREA
============================ */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.topbar {
  background-color: #cc0000;
  color: white;
  padding: 15px;
  font-size: 20px;
}

.content {
  padding: 30px;
  background-color: white;
  flex: 1;
}

/* ============================
   FORM STYLES
============================ */
form {
  max-width: 600px;
  margin: auto;
  background-color: #fff5f5;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

input, select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  margin-top: 20px;
  padding: 12px 20px;
  background-color: #b30000;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background-color: #990000;
}

/* ============================
   OFFER BOX HOVER
============================ */
#offerBox table tbody tr:hover {
  background-color: #fff5f5;
  transition: background-color 0.3s ease;
}

/* ============================
   PACKAGE FORM TWEAKS
============================ */
#packageContainer .form-control {
    min-height: 45px;
    font-size: 14px;
}

#packageContainer .border label.form-label {
    font-size: 15px;
    margin-bottom: 4px;
    display: block;
}

#packageContainer .form-control::placeholder {
    font-size: 13px;
}

#packageContainer input[type="number"] {
    height: 48px;
}

#packageContainer .package-row input.width,
#packageContainer .package-row input.length,
#packageContainer .package-row input.height {
    height: 48px;
    font-size: 14px;
    padding-left: 8px;
    padding-right: 8px;
}

#packageContainer .package-row .border label.form-label {
    display:block;
    font-size:15px;
    margin-bottom:7px;
}

/* ============================
   PREMIUM / SELECT2
============================ */
.modal .form-label { font-weight: 600; }

.form-section-title {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .3px;
  color: #6c757d;
  text-transform: uppercase;
  margin: 4px 0 10px;
}

.select2-container--bootstrap-5 .select2-selection {
  min-height: 46px;
  padding: .375rem .75rem;
  border-radius: .5rem;
  border-color: #dee2e6;
}

.select2-container {
  z-index: 3000 !important;
}

.select2-dropdown {
  z-index: 3500 !important;
}

/* ============================
   WALLET HOVER
============================ */
.wallet-balance:hover {
    opacity: .85;
    transform: scale(1.05);
    transition: .2s;
}

/* ============================
   MOBILE SIDEBAR DRAWER
============================ */
@media(max-width: 992px) {

  #sidebar {
    position: fixed;
    left: -260px;
    top: 0;
    height: 100vh;
    width: 250px !important;
    background: #fff;
    transition: 0.3s;
    z-index: 2000;
  }

  #sidebar.show {
    left: 0;
  }

  #content {
    margin-left: 0 !important;
    padding-top: 70px;
  }
}

/* DESKTOP */
@media(min-width: 992px) {
  #content { margin-left: 250px; }
}

/* ============================
   CLEAN BOOTSTRAP MODAL FIX
============================ */
.modal {
  z-index: 1055 !important;
}

.modal-backdrop {
  z-index: 1050 !important;
}
