#header{
  font-size: large;
  background-color: #ffffff;
  color: #F87508;
  padding: 1rem 2rem;
  text-align: center;
}

#footer {
  font-size: large;
  background-color: #ffffff;
  color: #F87508;
  padding: 1rem 2rem;
  text-align: center;
}

.panel {
  flex: 0.6;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.login-card {
  background-color: #FEFEFE;
  padding: 2.5rem 3rem;
  border-radius: 20px;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.login-card h2 {
  font-weight: 700;
  color: #021422;
  margin-bottom: 1rem;
}

.login-card p {
  color: #ABACAC;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.panel table,
.login-card table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  table-layout: fixed; 
  margin: 0 auto;
}

.panel table th,
.panel table td,
.login-card table th,
.login-card table td {
  padding: 3px;
  text-align: center;
  vertical-align: middle;
}

.btn-custom {
  background-color: #F87508;
  border: none;
  color: #FEFEFE;
  padding: 0.75rem;
  width: 30%;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background-color: #d85d07;
}

.btn-outline-custom {
  border: 2px solid #F87508;
  color: #F87508;
  background-color: transparent;
  padding: 0.75rem;
  width: 30%;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: #F87508;
  color: #FEFEFE;
}

.listing-img {
    height: 180px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.listing-card {
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.listing-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.listings-nav .nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    padding-bottom: 8px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.listings-nav .nav-link:hover {
    color: #000;
}

.listings-nav .active-tab {
    color: #000;
    border-bottom: 2px solid #000;
}

/* Search Card Styling */
.search-card {
    border: none;
    border-radius: 12px;
    background-color: #ffffff;
}

.search-card .card-title {
    font-weight: 600;
    color: #021422;
}

/* Form Control Enhancements */
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.625rem 0.875rem;
}

.form-control:focus, .form-select:focus {
    border-color: #F87508;
    box-shadow: 0 0 0 0.2rem rgba(248, 117, 8, 0.15);
}

.form-label {
    margin-bottom: 0.5rem;
    color: #495057;
}

/* Primary Button Override for Orange Theme */
.btn-primary {
    background-color: #F87508;
    border-color: #F87508;
}

.btn-primary:hover {
    background-color: #d85d07;
    border-color: #d85d07;
}

.btn-primary:focus, .btn-primary:active {
    background-color: #d85d07 !important;
    border-color: #d85d07 !important;
    box-shadow: 0 0 0 0.2rem rgba(248, 117, 8, 0.25) !important;
}

/* Advanced Filters Toggle Button */
.btn-link {
    color: #F87508;
    font-weight: 600;
}

.btn-link:hover {
    color: #d85d07;
}

/* Checkbox Styling */
.form-check-input:checked {
    background-color: #F87508;
    border-color: #F87508;
}

.form-check-input:focus {
    border-color: #F87508;
    box-shadow: 0 0 0 0.2rem rgba(248, 117, 8, 0.15);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .search-card {
        margin-bottom: 2rem;
    }
    
    .listing-card {
        margin-bottom: 1rem;
    }
}

/* Improved Modal Styling */
.modal-content {
    border-radius: 12px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
    border-radius: 0 0 12px 12px;
}