
/* Shared */
:root {
    --bg-color: #414141;
    --top-nav-color: #525252;
    --card-color: #2c2c2c;
    --card-color-hover: #000000;
    --light-text: #f2f2f2;
    --dark-text: #000000;
    --secondary-color: #319db5;
    --secondary-color-hover: #2b8599;
    --required-color: red;
    --remove-x-btn: rgb(223, 223, 223);
    --remove-x-btn-hover: #f2f2f2;
    --error-msg-color: red;
    --danger-color: #b53131;
    --danger-color-hover: #992b2b;
    --highlight-color: #5ad8ff;
}
body{
    margin: 0px;
    background-color: var(--bg-color);
}
.content{
    margin-top: 10px;
}
#container{
    margin-top: 50px;
    padding: 20px;
}
.rightBtn{
    float: right;
}
#ui-datepicker-div, .ui-timepicker-container{
    z-index: 2 !important;
}
.required{
    color: var(--required-color);
    margin-left: 5px;
}
input[type="checkbox"] {
    appearance: none; /* Remove default checkbox appearance */
    width: 15px;
    height: 15px;
    border-radius: 3px;
    background-color: rgb(37, 37, 37);
    position: relative; /* For pseudo-elements */
}
input[type="checkbox"]:checked::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 4px;
    width: 7px;
    height: 10px;
    border: solid rgb(220, 220, 220);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
input[type="checkbox"][disabled] {
    appearance: none; /* Remove default checkbox appearance */
    width: 15px;
    height: 15px;
    border-radius: 3px;
    background-color: rgb(107, 107, 107);
    cursor: not-allowed;
    position: relative; /* For pseudo-elements */
}
input[type="checkbox"]:checked.no-access::before {
    top: -2px;
    left: 2px;
}
input[type="checkbox"].no-access {
    appearance: none; /* Remove default checkbox appearance */
    width: 15px;
    height: 15px;
    border-radius: 3px;
    border: 2px solid rgb(169, 79, 79);
    background-color: transparent;
    cursor: not-allowed;
    position: relative; /* For pseudo-elements */
}
.title-header{
    text-align: center;
    margin-bottom: 20px;
}
.card{
    background: var(--card-color);
}
.disableScroll{
    overflow: hidden;
    height: 100%;
}
.nav-link{
    color: white !important;
    background-color: var(--secondary-color) !important;
}
.nav-link:not(.active){
    color: rgb(218, 218, 218) !important;
    background-color: #000000 !important;
    border-color: #000000;
}

/* BG */
.bg-primary {
    background-color: var(--secondary-color) !important;
    color: white !important;
    border-color: var(--secondary-color) !important;
}

/* Text */
.text-primary{
    color: var(--secondary-color) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color) !important;
    color: white !important;
    border-color: var(--secondary-color) !important;
}
  
.btn-primary:hover, .btn-primary:active {
    background-color: var(--secondary-color-hover) !important;
    border-color: var(--secondary-color-hover) !important;
}
.btn-danger {
    background-color: var(--danger-color) !important;
    color: white !important;
    border-color: var(--danger-color) !important;
}
  
.btn-danger:hover, .btn-danger:active {
    background-color: var(--danger-color-hover) !important;
    border-color: var(--danger-color-hover) !important;
}

/* Toastr Notification */
#toast-container>div{
    opacity: 1;
    box-shadow: none;
}

/* Topnav */
.topnav {
    position: fixed;
    top: 0px;
    width: 100%;
    background-color: var(--top-nav-color);
    overflow: hidden;
    z-index: 100;
    box-shadow: 0 0px 15px #00000036;
}
.topnav a {
    float: left;
    color: var(--light-text);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    min-width: 97px;
}
.topnav a {
    color: rgb(224, 224, 224);
}
.topnav a:hover{
    color: white;
}
.topnav a.active, .topnav-menu-item.active{
    color: white;
    font-weight: bold;
}
.topnav .right{
    float: right;
}
.dropdown {
    position: relative;
    overflow: visible;
}
.dropdown .dropbtn {
    font-size: 17px;
    border: none;
    outline: none;
    color: var(--light-text);
    padding: 9.5px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}
.dropdown-content {
    display: none;
    position: fixed;
    background-color: #646464;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
}
.dropdown-content a {
    float: none;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown:hover .dropbtn {
    background-color: #212121;
}
.initial-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px; /* Adjust size as needed */
    height: 35px; /* Adjust size as needed */
    border-radius: 50%;
    background-color: #ccc; /* Or any color */
    color: var(--dark-text);
    font-size: 16px;
    font-weight: bold;
}
.topnav-menu-item{
    display: none;
}
#topNavMenu {
    height: 0;
    margin-top: 53.5px;
    width: 100%;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    background-color: #646464;
    overflow-x: hidden;
    box-shadow: 0px 6px 7px 0px #00000036;
}
.menu-overlay{
    display: none;
}
.menu-overlay-content {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
}
.menu-overlay a {
    padding: 10px;
    text-decoration: none;
    font-size: 24px;
    color: #ffffff;
    display: block;
}
.menu-overlay a:hover, .menu-overlay a:focus {
    background: black;
    color: white;
}
.toggleNav{
    cursor: pointer;
    font-weight: bolder;
    min-width: 49px !important;
}
#iconBtn{
    padding: 14px 18px;
    min-width: 60px;
}
#icon{
    width: 30px;
    height: auto;
}

@media (max-width: 850px) {
    .topnav-item{
        display: none;
    }
    .topnav-menu-item{
        display: block;
    }
    .menu-overlay{
        display: block;
    }
}

/* Home Page */
#homePage{
    padding-top: 80px;
    background-color: #414141;
    color: #f8f9fa;
}
#homePage .segment-card {
    background-color: var(--card-color);
    color: #f8f9fa;
    border: 1px solid #555;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    padding: 20px;
}
#homePage h1, #homePage h2, #homePage h3, #homePage h4, #homePage h5, #homePage h6 {
    color: #fff;
}
#homePage .lead {
    color: #adb5bd;
    margin-bottom: 1.5rem;
}
#homePage .feature-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #007bff;
}
#homePage .contact-info i {
    font-size: 1.2em;
    margin-right: 8px;
    color: #17a2b8;
}

/* Plans Page */
#plansPage{
    padding-top: 80px;
    background-color: #414141;
    color: #f8f9fa;
}
#plansPage .border-bottom {
    border-bottom: var(--bs-border-width) var(--bs-border-style) #515151!important;
}

/* Login Page */
#loginPage #container{
    margin: 0px auto;
    margin-top: 80px;
    max-width: 450px;
}
#loginPage #loginBtn{
    width: 100%;
}
#loginPage #registerContainer{
    margin-top: 30px;
    text-align: center;
}
#loginPage #registerMsg{
    margin-bottom: 5px;
}

/* Registration Page */
#registrationPage #container{
    margin: 0px auto;
    margin-top: 70px;
    max-width: 750px;
}
#registrationPage #registerBtn{
    width: 100%;
}
#registrationPage #loginContainer{
    margin-top: 30px;
    text-align: center;
}
#registrationPage #loginMsg{
    margin-bottom: 5px;
}

/* Activation Page */
#activatedPage{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding-bottom: 60px;
}
#activatedPage #container{
    max-width: 600px;
    width: 90%;
    padding: 20px;
    text-align: center;
}
#activatedPage .success-icon {
    font-size: 3em;
    color: #28a745; /* Success color */
    margin-bottom: 15px;
}

/* Events Page */
#eventsPage #eventsContainer{
    margin-top: 10px;
}
#eventsPage #eventsContainer > * {
    text-decoration: none;
}
#eventsPage .card{
    border-radius: 0.375rem;
}
#eventsPage .eventBtnContainer{
    float: right;
}
#eventsPage .card:hover{
    background: var(--card-color-hover);
    color: white;
}

/* Create Event Page */
#createEventPage #container, #editEventPage #container{
    max-width: 700px;
    padding-top: 80px;
    margin: 0px auto;
    margin-bottom: 60px
}
#createEventPage #footer, #editEventPage #footer{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #373737; 
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

/* Event Page */
#eventPage #message{
    color: var(--error-msg-color);
    margin: 0px;
    position: absolute;
    bottom: 0px;
}

/* Create Room Page */
#createRoomPage #createRoomContainer{
    max-width: 700px;
    margin: 0px auto;
    margin-bottom: 60px;
    position: relative;
}
#createRoomPage #footer{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #373737; 
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}
#createRoomPage #footer > * {
    margin-left: 250px;
}
@media (max-width: 999px) {
    #createRoomPage #footer > * {
        margin-left: 0;
    }
}

/* Rooms Page */
#roomsPage .card{
    border-radius: 0.375rem;
}
#roomsPage .card:hover{
    background: var(--card-color-hover);
    color: white;
}
#roomsPage #roomsContainer{
    margin-top: 10px;
}
#roomsPage #roomsContainer > * {
    text-decoration: none;
}
#roomsPage .room{
    padding: 10px;
    margin-bottom: 2px;
    border-radius: 7px;
    background-color: #313131;
    color: white;
    cursor: pointer;
}
#roomsPage .room:hover{
    background-color: #5ad8ff;
    color: black;
}
#roomsPage .roomBtnContainer{
    float: right;
}

/* SideBar */
#sidebar {
    position: fixed;
    top: 50px;
    left: 0;
    width: 250px; /* Adjust as needed */
    height: calc(100% - 50px);
    background-color: var(--card-color); /* Dark background for sidebar */
    color: white;
    flex-shrink: 0; /* Prevent sidebar from shrinking */
    transition: transform 0.3s ease-in-out; /* For smooth open/close */
    z-index: 10;
}

/* Initially hide the sidebar on smaller screens */
@media (max-width: 999px) {
    #sidebar {
        transform: translateX(-250px); /* Push it off-screen */
    }
}

#sidebar.open {
    transform: translateX(0); /* Slide it back in */
}

#sidebar #eventNameContainer{
    background:rgb(56, 57, 59);
}
#sidebar #sidebarContent{
    height: calc(100% - 64px);
    overflow-y: scroll;
    overflow-x: hidden;
}
#sidebar .event-name{
    padding: 20px;
    margin: 0px;
    max-width: 230px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
#sidebar .sidebar-tab, .sidebar-sub-tab{
    cursor: pointer;
    display: block;
    padding: 10px 10px;
    padding-left: 20px;
    text-decoration: none;
    margin-bottom: 3px;
    color: rgb(218, 218, 218);
}
#sidebar .sidebar-tab:not(.main-tab, .disabled):hover, .sidebar-sub-tab:not(.disabled):hover{
    background-color: #212121;
    color: white !important;
}
#sidebar .sidebar-tab.disabled, .sidebar-sub-tab.disabledd{
    color: rgb(140, 140, 140) !important;
}
#sidebar .locked-icon{
    margin-right: 10px;
}
.main-tab {
   font-weight: bold;
   font-size: 1.2em;
   color: white !important
}
.sub-options {
    margin-top: 5px;
}
.sidebar-tab.current,
.sidebar-sub-tab.current{
    background-color: var(--highlight-color);
    color: black !important;
}
.wSideBar #container{
    margin-left: 250px;
    padding: 20px;
    transition: margin-left 0.3s ease-in-out; /* Match sidebar transition */
}

/* Adjust container margin when sidebar is hidden */
@media (max-width: 999px) {
    .wSideBar #container {
        margin-left: 0;
    }
}

.wSideBar.sidebar-open #container {
    margin-left: 250px;
}

#sidebar .fa-external-link-alt{
    margin-top: 3px;
    margin-right: 10px;
    float: right;
}
#sidebar .expandable-tab{
    margin-bottom: 10px;
}
#sidebar .expandable-tab .sub-options {
    display: none;
    overflow: hidden;
}
#sidebar .expandable-tab.open .sub-options{
    display: block;
}
#sidebar .main-tab::after {
    content: "\25B8";
    font-size: 1.3em;
    transition: transform 0.2s ease-in-out;
    float: right;
    transform: rotate(90deg);
}
#sidebar .expandable-tab:not(.open) .main-tab::after {
    transform: rotate(0deg);
}

/* Styling for the open sidebar button */
#sidebar-toggle {
    position: fixed;
    top: 60px; /* Adjust based on your header and desired position */
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 8px;
    cursor: pointer;
    z-index: 1001; /* Ensure it's above the sidebar */
    display: none; /* Hidden by default on larger screens */
}

@media (max-width: 999px) {
    #sidebar-toggle {
        display: block;
    }
}

#sidebar-toggle.open {
    left: 250px; /* Move it to the right of the opened sidebar */
}

/* Form Editor Page */
.formEditorPage #formEditorContainer{
    max-width: 700px;
    margin: 0px auto;
    margin-bottom: 60px;
    position: relative;
}
.formEditorPage #bannerImagePreview{
    max-width: 100%;
    height: auto;
    max-height: 200px;
    margin-top: 10px;
    border: 1px solid #ddd;
    display: none;
}
.formEditorPage .form-file-upload{
    margin-bottom: 1rem;
}
.formEditorPage .banner-upload-controls{
    display: flex;
    align-items: center;
    gap: 10px;
}
.formEditorPage #removeBannerImageBtn{
    display: none;
}
.formEditorPage #restoreBannerImageBtn{
    display: none;
}
.formEditorPage #autoApproveLabel{
    padding: 0;
    position: inherit;
}
.formEditorPage .formFieldContainer{
    width: 100%;
    padding: 10px;
    border-radius: 7px;
    background-color: var(--card-color);
    margin-bottom: 2px;
}
.formEditorPage #addFieldBtn{
    margin-top: 10px;
}
.formEditorPage .formField{
    font-weight: bold;
    color: var(--light-text);
    margin-bottom: 0px;
}
.formEditorPage .required{
    color: var(--required-color);
    margin-left: 5px;
}
.formEditorPage .requiredContainer{
    margin-top: 10px;
}
.formEditorPage #requiredLabel{
    padding: 0;
    position: inherit;
}
.formEditorPage .removeField{
    margin-left: 10px;
}
.formEditorPage .removeField, .formEditorPage .editField{
    cursor: pointer;
    float: right;
    text-decoration: none;
    color: var(--remove-x-btn);
    font-size: 1.4em;
    font-weight: bold;
    position: relative;
    top: -30px;
}
.formEditorPage .removeField:hover, .formEditorPage .editField:hover{
    color: var(--remove-x-btn-hover);
}
.formEditorPage #optionsContainer, .formEditorPage #editOptionsContainer{
    display: none;
    margin-top: 10px;
}
.formEditorPage .option-holder{
    display: inline-block;width: 100%;
}
.formEditorPage .option-holder div input{
    padding-right: 30px;
}
.formEditorPage .removeOption{
    cursor: pointer;
    float: right;
    text-decoration: none;
    color: var(--remove-x-btn);
    font-size: 1.4em;
    font-weight: bold;
    position: relative;
    top: -62px;
    left: -8px;
    height: 0px;
}
.formEditorPage .removeOption:hover{
    color: var(--remove-x-btn-hover);
}
.formEditorPage .badge{
    margin-right: 5px;
}
.formEditorPage .fieldOption{
    margin: 5px 0px 0px 0px;
}
.formEditorPage #footer{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #373737;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    box-sizing: border-box;
}
.formEditorPage #footer > * {
    margin-left: 250px;
}
@media (max-width: 999px) {
    .formEditorPage #footer > * {
        margin-left: 0;
    }
}

/* Form Page */
#formPage #container{
    margin: 0px auto;
    max-width: 800px;
}
#formPage #banner{
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
    display: block; 
}
#formPage .fields{
    margin-bottom: 10px;
}
#formPage label{
    font-size: 1.1em;
}
#formPage .required{
    color: var(--required-color);
    margin-left: 5px;
}
#formPage .error-message{
    margin-top: 5px;
    color: red;
}

/* Form Submitted Page */
#formSubmittedPage #header{
    color: var(--light-text);
}

/* Delete Form Page */
#deleteFormPage .delete-confirmation {
    background-color: var(--card-color);
    color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}
#deleteFormPage #deleteForm{
    text-align: center;
}
#deleteFormPage .delete-confirmation p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}
#deleteFormPage .delete-actions button {
    margin: 0px auto;
}
#deleteFormPage .content-container{
    margin: 0px auto;
    max-width: 500px;
}

/* Registrants Page */
#registrantsPage #registrantsContainer{
    margin-top: 10px;
}

/* Email Manager Page */
#emailManagerPage #emailManagerContainer{
    margin-top: 10px;
}
#emailManagerPage .emailTemplateLabel.selected{
    background-color: #319db5;
    border-color: #319db5;
}
#emailManagerPage #emailInfo, #emailManagerPage #emailPreview{
    margin-top: 30px;
}
#emailManagerPage #sendTestEmail{
    margin-top: 10px;
}

/* Pass Editor Page */
#passEditorPage #passFieldsContainer{
    margin-top: 10px;
}
#passEditorPage .required{
    color: var(--required-color);
    margin-left: 5px;
}
#passEditorPage .selector-container{
    margin: 0px auto;
    margin-top: 30px;
    max-width: 1000px;
}
#passEditorPage .list{
    padding: 0px;
    width: 100%;
    height: 185px;
    overflow-y: auto;
    background: #535353;
    border-radius: 6px;
}
#passEditorPage .list-item{
    border-radius: 6px;
    padding: 5px 15px;
    cursor: pointer;
    margin: 2px;
    background: var(--card-color);
}
#passEditorPage .list-item.selected{
    background-color: var(--highlight-color);
    color: black;
}
#passEditorPage .list-item[data-fixed="true"]{
    background-color: #3d3d3d;
    color: #ffffff;
    cursor: not-allowed;
}
#passEditorPage .buttonsContainer{
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

/* Room Page */
#roomPage .attendee{
    padding: 10px;
    margin-bottom: 2px;
    border-radius: 7px;
    background-color: #313131;
    color: white;
}
#roomPage .attendeeEmail{
    display: inline-flex;
    font-weight: bold;
    font-size: 1.3em;
    margin: 0px;
}

/* Scanner Page */
#scannerPage, #roomScannerPage {
    text-align: center;
}
#scannerPage #backBtn, #roomScannerPage #backBtn{
    float: left;
}
#scannerPage #qr-canvas, #roomScannerPage #qr-canvas{
    margin: auto;
    width: 100%;
    max-width: 1080px;
    height: auto;
    border-radius: 30px;
    padding: 20px;
} 
#scannerPage #btn-scan-qr, #roomScannerPage #btn-scan-qr{
    cursor: pointer;
    width: 100%;
} 
#scannerPage #btn-scan-qr img, #roomScannerPage #btn-scan-qr img{
    height: 10em;
    padding: 15px;
    margin: 15px;
    background: white;
}
#scannerPage #qr-result, #roomScannerPage #qr-result{
    font-size: 1.2em;
    margin: 20px auto;
    padding: 20px;
    max-width: 700px;
}
#scannerPage #print-pass-btn{
    display: none;
}
#roomScannerPage #actionSelector{
    margin-bottom: 10px;
}

/* Manager Page */
#managePage .user > .card-body > p{
    margin-bottom: 0px;
}
#managePage .userBtnContainer{
    float: right;
}
#managePage .role p{
    margin-bottom: 0px;
}
#managePage .role{
    display: flex;
    justify-content: space-between;
    min-height: 47px;
    cursor: pointer;
    padding: .375rem .75rem;
    background-color: var(--card-color);
    border-radius: 0.375rem;
    margin-bottom: 2px;
    color: var(--bs-card-title-color);
}
#managePage .role:not(.selected):hover{
    background: var(--card-color-hover);
    color: white;
}
#managePage .role > p{
    margin-top: 3px;
}
#managePage .roleBtn{
    width: 100%;
}
#managePage .selected{
    background-color: #5ad8ff;
    color: black;
}
#managePage .role-content{
    padding: 10px 5px;
}
#managePage .category-header{
    margin-bottom: 0px;
    background-color: var(--card-color);
    color: white;
}
#managePage .category-header:hover{
    background-color: black;
}
#managePage .category-header button {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: inherit;
}
#managePage .category-header button:hover {
    text-decoration: none;
}
#managePage .category-item {
    margin-bottom: 2px;
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

#managePage .category-body {
    padding: 0.5rem;
    background-color: var(--top-nav-color);
}
/* Style for the open state - rotate the icon */
#managePage .collapse-icon.open-indicator {
    font-size: 1.3em;
    transition: transform 0.2s ease-in-out;
    float: right;
    transform: rotate(90deg);
}

/* Style for the closed state - no rotation (default) */
#managePage .collapse-icon:not(.open-indicator) {
    font-size: 1.3em;
    transform: rotate(0deg);
}
#managePage #newRoleName{
    height: 47px;
}
#managePage .deleteRole{
    float: right;
}
#managePage .updateRole{
    float: right;
}
#managePage .addUserBtn{
    margin: 10px 0px;
}
#managePage #eventSelectorContainer{
    margin-top: 20px;
    margin-bottom: 10px;
}
#managePage .list{
    padding: 0px;
    width: 100%;
    height: 185px;
    overflow-y: auto;
    background: #535353;
    border-radius: 6px;
}
#managePage .list-item{
    border-radius: 6px;
    padding: 5px 15px;
    cursor: pointer;
    margin: 2px;
    background: #212529;
}
#managePage .list-item.selected{
    background-color: var(--highlight-color);
    color: black;
}
#managePage .list-item[data-fixed="true"]{
    background-color: #343434;
    color: #ffffff;
    cursor: not-allowed;
}
#managePage .sub-permission{
    margin-left: 20px;
}
@media (max-width: 768px) { /* Adjust the breakpoint (768px) as needed */
    #managePage .row {
        flex-direction: column; /* Stack the columns vertically */
    }
    #managePage .col{
        flex: 0 0 100%; /* Each column takes up the full width */
        margin-bottom: 15px; /* Add some spacing between stacked columns */
    }
    #managePage .role-content{
        width: 100%;
        padding: 10px 20px;
    }
}

/* Manage User Page */
#manageUserPage #container{
    max-width: 600px;
    padding-top: 80px;
    margin: 0px auto;
    margin-bottom: 60px
}
#manageUserPage #manageUserForm{
    margin-top: 10px;
}
#manageUserPage #footer{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #373737; 
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

/* Add User Page */
#addUserPage #container{
    max-width: 600px;
    padding-top: 80px;
    margin: 0px auto;
    margin-bottom: 60px
}
#addUserPage #add-user-form{
    margin-top: 10px;
}
#addUserPage #footer{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #373737; 
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

/* Switch Organization Page */
#switchOrganizationPage #container{
    margin: 0px auto;
    margin-top: 60px;
    max-width: 600px;
    align-items: center;
}
#switchOrganizationPage #organizationsContainer{
    margin-top: 10px;
}
#switchOrganizationPage #organizationsContainer > * {
    text-decoration: none;
}
#switchOrganizationPage .card{
    border-radius: 0.375rem;
}
#switchOrganizationPage .organizationBtnContainer{
    float: right;
}
#switchOrganizationPage #createOrganization{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    width: 200px;
}

/* Create Organization Page */
#createOrganizationPage #container{
    max-width: 700px;
    padding-top: 80px;
    margin: 0px auto;
    margin-bottom: 60px
}
#createOrganizationPage #footer{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #373737; 
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

/* Admin Page */
#adminPage #editInput{
    font-size: 1rem;
    max-width: 200px;
    padding: 3.8px;
    margin-bottom: 0.5rem;    
}
#adminPage .plan p, #adminPage .email p{
    margin-bottom: 0px;
}
#adminPage .plan, #adminPage .email{
    display: flex;
    justify-content: space-between;
    min-height: 47px;
    cursor: pointer;
    padding: .375rem .75rem;
    color: var(--bs-card-title-color);
    background-color: var(--card-color);
    border-radius: 0.375rem;
    margin-bottom: 2px;
}
#adminPage .plan:not(.selected):hover, #adminPage .email:not(.selected):hover{
    background: var(--card-color-hover);
    color: white;
}
#adminPage .plan > p, #adminPage .email > p{
    margin-top: 3px;
}
#adminPage .planBtn, #adminPage .emailBtn{
    width: 100%;
}
#adminPage .selected{
    background-color: #5ad8ff;
    color: black;
}
#adminPage .plan-content, #adminPage .email-content{
    padding: 10px 5px;
}
#adminPage .permission-list{
    margin-bottom: 10px;
}
#adminPage .openDeletePlanModal{
    float: right;
}
#adminPage .updatePlan, #adminPage .updateEmail{
    float: right;
}
#adminPage .category-header{
    margin-bottom: 0px;
    background-color: var(--card-color);
    color: white;
}
#adminPage .category-header:hover{
    background-color: black;
}
#adminPage .category-header button {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: inherit;
}
#adminPage .category-header button:hover {
    text-decoration: none;
}
#adminPage .category-item {
    margin-bottom: 2px;
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}
#adminPage .category-body {
    padding: 0.5rem;
    background-color: var(--top-nav-color);
}
/* Style for the open state - rotate the icon */
#adminPage .collapse-icon.open-indicator {
    font-size: 1.3em;
    transition: transform 0.2s ease-in-out;
    float: right;
    transform: rotate(90deg);
}
/* Style for the closed state - no rotation (default) */
#adminPage .collapse-icon:not(.open-indicator) {
    font-size: 1.3em;
    transform: rotate(0deg);
}
#adminPage .category-body .limitable-container {
    font-size: 0.9em;
    margin-left: 1.3rem;
    margin-bottom: 0.3rem;
}
#adminPage .category-body .limitable-container label {
    margin-right: 0.5rem;
    font-weight: normal;
}
#adminPage .category-body .limit-input {
    font-size: 0.9em;
    width: auto;
    display: inline-block;
    vertical-align: middle; /* Align with the label */
}

@media (max-width: 768px) { /* Adjust the breakpoint (768px) as needed */
    #adminPage .row {
        flex-direction: column; /* Stack the columns vertically */
    }
    #adminPage .col{
        flex: 0 0 100%; /* Each column takes up the full width */
        margin-bottom: 15px; /* Add some spacing between stacked columns */
    }
    #adminPage .plan-content{
        width: 100%;
        padding: 10px 20px;
    }
}