        main {
            display: flex;
            min-height: calc(100vh - 104px); /* Minimum height to fill the screen minus the header and potential footer*/
        }

        .settings-nav {
            width: 250px;
            border-right: 1px solid #e6e6e6;
            padding: 20px;
            background-color: #f5f7fa;
        }
        .settings-nav a {
            display: block;
            padding: 10px 15px;
            color: #2d3748;
            text-decoration: none;
            transition: background-color 0.2s ease, color 0.2s ease;
            border-radius: 6px;
            margin-bottom: 5px;
            font-size: 15px;
        }
        .settings-nav a:hover,
        .settings-nav a.current {
            background-color: #e2e8f0;
            color: #007bff;
        }

        .settings-content {
            flex: 1;
            padding: 20px;
            max-width: 1000px;
        }
        .settings-section {
            margin-bottom: 40px;
        }
        .settings-section h2 {
            font-size: 1.75rem;
            font-weight: bold;
            color: #2d3748;
            border-bottom: 1px solid #e6e6e6;
            padding-bottom: 10px;
            margin-bottom: 20px;
        }
        .settings-section label {
            display: block;
            margin-bottom: 5px;
            color: #4a5568;
        }
        .settings-section input,
        .settings-section select,
        .settings-section textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            margin-bottom: 15px;
            box-sizing: border-box;
        }
        .settings-section .form-group {
            margin-bottom: 20px;
        }
        .settings-section .form-group label {
            margin-bottom: 5px;
            display: block;
            color: #4a5568; /* Match standard label color */
         }
        .settings-section .form-group input[type="checkbox"] {
            width: auto;
            margin-right: 8px;
            vertical-align: middle;
        }

     .settings-section .form-group input[type="file"] {
        margin-bottom: 15px;
     }
    
      .settings-section .form-group label[for="profilePictureUpload"] {
         margin-top: 10px; /* Add space above the label */
     }
    
      /* Dark mode styles for form labels */
     body.dark .settings-section .form-group label {
        color: #cccccc;
    }

        .settings-section .form-group .inline-label {
            display: inline-block;
            vertical-align: middle;
        }
        .settings-section .btn-group {
            margin-top: 10px;
        }
        .settings-section .btn-group button {
            padding: 10px 20px;
            border-radius: 6px;
            background-color: #4299e1;
            color: #ffffff;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        .settings-section .btn-group button:hover {
            background-color: #2b6cb0;
        }
        .settings-section .option-row {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }
        .settings-section .option-row label {
            flex-grow: 1; /* Take up remaining space */
        }
        .settings-section .option-row select {
            width: auto;
            flex-basis: 200px; /* Adjust based on your needs */
        }
        .tooltip-container {
            display: inline-block;
            position: relative;
        }
        .tooltip-container .tooltip {
            visibility: hidden;
            width: 200px;
            background-color: #333;
            color: #fff;
            text-align: center;
            padding: 8px;
            border-radius: 4px;
            position: absolute;
            z-index: 1;
            bottom: 125%; /* Position above the container */
            left: 50%;
            margin-left: -100px;
            opacity: 0;
            transition: opacity 0.3s;
        }
        .tooltip-container:hover .tooltip {
            visibility: visible;
            opacity: 1;
        }
        .info-icon-container {
            display: inline-block;
            cursor: help; /* Change cursor to indicate it's interactive */
            margin-left: 5px;
        }
        .info-icon {
             color: #007bff;
             font-size: 14px;
         }
         /* Styles for switch container */
        .switch-container {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        .switch-container label {
            margin-right: 10px; /* Space between text and switch */
            color: #4a5568;
        }

        .pause-toggle-text {
            margin-right: 10px;
        }

.profile-picture-container {
    position: relative;
    width: 100px; /* Set a fixed width */
    height: 100px; /* Set a fixed height */
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px; /* Add space below profile picture */
 }

.profile-picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

 .profile-picture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s;
    border-radius: 50%;
}

.profile-picture-container:hover .profile-picture-overlay {
     opacity: 1; /* Show overlay on hover */
}

.header {
    background-color: #ffffff;
    padding: 0px 8px;
    border-bottom: 1px solid #e6e6e6;
}

.content {
    /* max-width: 1300px; */
    margin: 0 auto;
    padding: 20px 16px;
}

.nav-link {
    transition: color 0.3s ease;
    font-size: 16px;
}

.nav-link:hover {
    color: #007bff; /* Octa City blue*/
}

.nav-link.current {
    color: #007bff; /* Octa City blue*/    
}

#logout.nav-link:hover {
    color: red; /* Hugging Face accent color */
}

.icon:hover {
    color: #FF9900;
}

.status-indicator {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
}

.loading-spinner {
  border: 3.2px solid #f3f3f3; /* Light grey */
  border-top: 3.2px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.settings-section .btn-group {
    margin-top: 10px;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.spinner-container {
    display: inline-flex;
    align-items: center; /* Center vertically */
    margin-left: 10px; /* Adjust spacing as needed */
}
.btn-loading {
  opacity: 0.7;
  pointer-events: none;
}

.mobile-menu {
    background-color: rgb(255 255 255);
    border-bottom: 1px solid #e6e6e6;
}

#profileMenu {
    background-color: #ffffff; /* White background for light theme */
    color: #2d3748; /* Dark text for readability */
    transition: background-color 0.3s ease, color 0.3s ease;
}

#profileMenu a:hover {
    background-color: #f1f5f9; /* Light grayish-blue for hover effect */
    color: #1a202c; /* Slightly darker text on hover */
}

#profileMenu .darkmode-toggle:hover {
    background-color: #f1f5f9; /* Consistent light hover color */
    color: #1a202c; /* Slightly darker text on hover */
}

 /* Dark mode toggle base styles */
label {
    position: relative;
    display: inline-flex;
    align-items: center;
}

#toggleBg {
    transition: background-color 0.3s ease;
}

#darkModeToggle:checked + #toggleBg {
    background-color: #4caf50; /* Green when checked */
}

#darkModeToggle:checked + #toggleBg + .absolute {
    transform: translateX(1.25rem); /* Moves the knob */
}

#toggleBg {
    position: relative;
    transition: background-color 0.3s;
}

#toggleBg input:checked + .w-11.h-6 {
    background-color: #4caf50; /* Green for active */
}

#toggleBg input:checked + div .absolute {
    transform: translateX(1.25rem); /* Move the toggle knob */
}

/* Added for settings toggle */

.switch-container input[type="checkbox"]:checked + .relative > #toggleBg {
     background-color: #4caf50; /* Green when checked */
}
.switch-container input[type="checkbox"]:checked + .relative > #toggleBg > .absolute {
    transform: translateX(1.25rem); /* Moves the knob */
}

/* General body styles for dark mode */

/* General styles for headings */
h1, h2, h3, h4, h5, h6 {
    color: inherit;
    transition: color 0.3s ease;
}


/* Headings and inline elements */
body.dark h1, 
body.dark h2, 
body.dark h3, 
body.dark h4, 
body.dark h5, 
body.dark h6, 
body.dark i,
/* body.dark span,  */
body.dark p, 
body.dark label,
body.dark a {
    color: #f7fafc;
}

body.dark a {
    color: #f7fafc;
}

/* Number color in dashboard boxes  */
body.dark #camera-count {
    color: rgb(79 70 229);
}
body.dark #event-active-count {
    color: rgb(220 38 38);
}
body.dark #event-pending-count {
    color: rgb(202 138 4);
}