body {
    background-color: #f5f6fa;
}

.error-message {
    font-size: 0.875rem;
    min-height: 1.5rem;
    margin-top: 0.25rem;
}

.room-type-group {
    border: 1px solid #dee2e6;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.room-type-group h5 {
    margin-bottom: 15px;
}

.sidebar {
    background-color: #0D6EFD;
    color: white;
}

.sidebar a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 1rem;
}

.sidebar a:hover,
.sidebar a.active {
    background-color: #2c4cff9d;
}

.content {
    padding: 2rem;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.6rem;
    letter-spacing: 1px;
}

.form-section {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-section h4 {
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .sidebar {
        height: 100vh;
        position: fixed;
        width: 250px;
    }

    .content {
        margin-left: 250px;
    }
}

.picture-box,
.multi-picture-box-container {
    border: 1px solid #dee2e6;
    min-height: 150px;
    margin-bottom: 10px;
    background-color: #f8f9fa;
}

.picture-box-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.multi-picture-box-container img {
    max-width: 100px;
    margin: 5px;
}

.button-group {
    display: flex;
    gap: 10px;
}

.form-control {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Navigation container */
.navigation-container {
    margin-top: 20px;
    margin-bottom: 2rem;
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Navigation buttons */
.nav-buttons {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 1rem; /* Adds space between buttons */
  width: 100%;
}

.nav-buttons .btn {
    min-width: 120px;
}

/* Action buttons */
.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    /* Added vertical space */
}

.action-buttons .btn {
    min-width: 120px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }

    .nav-buttons,
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .nav-buttons .btn,
    .action-buttons .btn {
        width: 100%;
    }
}

/* Navbar custom styles for visibility and consistency */
.navbar-custom {
  background: var(--bs-primary, #0d6efd);
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
  backdrop-filter: blur(2px);
}

.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #222;
}
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.hero-carousel .carousel-item img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  filter: brightness(0.6);
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}
.hero-content {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 1px 2px rgba(0,0,0,0.7);
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 0;
}

.footer {
  background: var(--bs-primary, #0d6efd);
  color: #fff;
  padding: 1.2rem 0 0.7rem 0;
  text-align: center;
  margin-top: 3rem;
}

/* User Dashboard Offcanvas (Mobile Sidebar) Styling */
.offcanvas#userSidebarOffcanvas {
  background: #0d6efd;
  color: #fff;
}
.offcanvas#userSidebarOffcanvas .offcanvas-header {
  background: #0d6efd;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.offcanvas#userSidebarOffcanvas .offcanvas-title {
  color: #fff;
  font-weight: bold;
  letter-spacing: 1px;
}
.offcanvas#userSidebarOffcanvas .btn-close {
  filter: invert(1);
  opacity: 0.8;
}
.offcanvas#userSidebarOffcanvas .offcanvas-body {
  padding: 0;
}
.offcanvas#userSidebarOffcanvas a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 1rem 1.5rem;
  font-size: 1.08rem;
  border-radius: 0.5rem;
  margin: 0.2rem 0.5rem;
  transition: background 0.15s;
}
.offcanvas#userSidebarOffcanvas a.active,
.offcanvas#userSidebarOffcanvas a:hover {
  background: rgba(255,255,255,0.13);
  color: #fff;
}

/* Association Admin Dashboard Offcanvas (Mobile Sidebar) Styling */
.offcanvas#offcanvasSidebar {
  background: #0d6efd;
  color: #fff;
}
.offcanvas#offcanvasSidebar .offcanvas-header {
  background: #0d6efd;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.offcanvas#offcanvasSidebar .offcanvas-title {
  color: #fff;
  font-weight: bold;
  letter-spacing: 1px;
}
.offcanvas#offcanvasSidebar .btn-close {
  filter: invert(1);
  opacity: 0.8;
}
.offcanvas#offcanvasSidebar .offcanvas-body {
  padding: 0;
}
.offcanvas#offcanvasSidebar a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 1rem 1.5rem;
  font-size: 1.08rem;
  border-radius: 0.5rem;
  margin: 0.2rem 0.5rem;
  transition: background 0.15s;
}
.offcanvas#offcanvasSidebar a.active,
.offcanvas#offcanvasSidebar a:hover {
  background: rgba(255,255,255,0.13);
  color: #fff;
}

.section-content { display: none; }
.section-content.active { display: block; }
