@media (prefers-color-scheme: dark) {
    /* Styles for dark mode */
}

/* Hide sidebar by default on small screens */
@media (max-width: 767.98px) {
    .sidebar {
        width: 0;
        overflow: hidden;
        transition: width 0.3s ease;
    }
}

#drop-area {
    border: 2px dashed #ccc;
    border-radius: 20px;
    width: 320px;
    margin: 50px auto;
    padding: 20px;
    cursor: pointer;
  }
  #drop-area.hover {
    border-color: #047a08;
  }
  p {
    margin-top: 0;
    text-align: center;
  }

/* Optional: style for when the sidebar is toggled visible on mobile */
.sidebar.active {
    width: 250px; /* Adjust based on desired visible width */
}

.sidebar-toggle-container {
    position: sticky;
    bottom: 0;
    padding: 10px;
    background-color: inherit; /* Adjust if you want a specific background */
}

/* Optional: Style the button for better visibility */
#themeToggle {
    width: 100%;
}

:root {
    --text-color-light: #000;
    --text-color-dark: #fff;
    /* Define more custom properties for light and dark themes */
  }
  
  [data-bs-theme="light"] {
    --text-color: var(--text-color-light);
    /* Use light theme custom properties */
  }
  
  [data-bs-theme="dark"] {
    --text-color: var(--text-color-dark);
    /* Use dark theme custom properties */
  }
  
  body {
    color: var(--text-color);
    /* Apply other theme-based styles */
  }

  [data-bs-theme="light"] .sidebar {
    background-color: #ffffff; /* Light background */
    color: #000000; /* Dark text */
    /* Additional light theme styles for the sidebar */
}

[data-bs-theme="dark"] .sidebar {
    background-color: #343a40; /* Dark background */
    color: #ffffff; /* Light text */
    /* Additional dark theme styles for the sidebar */
}

#customBackground {
    background-image: url('../img/CrestPointAlliance-BG-Web.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh!important; /* Optional: to ensure it covers the full viewport height */

}

#loginLogo {
    align-self: center;
    align-items: center;
    justify-content: center;
    margin: auto;
}

#loginDesign {
    background-color:hsl(234, 94%, 7%, 1);
    color: white;
}

.sidebar {
    position: fixed;
    top: 40px;
    bottom: 0;
    left: 0;
    z-index: 100; /* Stay on top */
    padding: 48px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: relative;
    top: 0px;
    height: calc(100vh - 48px);
    padding-top: 0.5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.nav-link {
    border-radius: 5px;
    margin-right: 20px; /* Right margin is optional */
}

.nav-link:hover {
    background-color: #f8f9fa;
}

/* Panel button style */
.dashboard-panel .nav-link {
    display: block;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0.25rem; /* Rounded edges */
    box-shadow: none; /* No shadow by default */
    transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out; /* Smooth transition for hover effect */
}

/* Hover effect */
.dashboard-panel .nav-link:hover {
    text-decoration: none; /* Remove text underline */
    background: #f8f9fa; /* Slightly darker background on hover */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Shadow for depth */
    transform: translateY(-2px); /* Slight raise effect */
}

.btn-primary {
    background-color: #007bff; /* Primary color for your brand */
    border-color: #007bff; /* Border color matching background */
    /* You can add more custom styles if you want */
}

.btn-primary:hover {
    background-color: #0056b3; /* Darker shade for hover state */
    border-color: #0056b3;
}

.toast-header {
    background-color: #198754; /* Bootstrap's success color */
    color: #fff;
}

/* Optional: Custom toast body styling */
.toast-body {
    background-color: #fff;
    /* Add any additional styles you want for the toast body */
}

/* Success Toast */
.bg-success {
    background-color: #198754; /* Bootstrap's success green */
}

/* Error Toast */
.bg-danger {
    background-color: #dc3545; /* Bootstrap's danger red */
}