html {
    font-family: "DM Sans", sans-serif;
    background-color: #1a1a1e;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    margin: 0;
    padding: 0;
}

html.high-contrast {
    filter: contrast(200%)
}

/* HEADER */

#header {
    display: flex;
    align-items: center;
    background-color: #121214;
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%;
    height: 5vh;
    border-bottom: #29292d 1px solid;
}

#header h2 {
    color: #96979e;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    margin-left: auto;
    margin-right: 20px;
}

#header h1 {
    font-family: "Cal Sans", sans-serif;
    margin-top: 10px;
    margin-left: 10px;
    font-size: 1.5vw;
    background: linear-gradient(90deg, #4E00CA, #FF0044);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: transparent;
}

#firebase {
    display: flex;
    flex-direction: column;
    margin-left: 50px;
    gap: 5px;
}

#firebase img {
    height: 2.5vh;
    width: auto;
    cursor: pointer;
}

a {
    text-decoration: none;
}

/* MAIN CONTENT */

.app-view {
    display: none;
}

.app-view.active {
    display: flex;
}

#chatContainer.active {
    display: flex !important;
    flex-direction: column;
}

#guidelinesContainer.active,
#feedbackViewer.active,
#systemContainer.active {
    display: block !important;
}

#feedbackForm.active,
#voice-container.active {
    display: flex !important;
    flex-direction: column;
}

#banned {
    display: none;
    text-align: center;
    position: fixed;
    top: 50%;              
    left: 50%;              
    transform: translate(-50%, -50%); 
    background-color: #222327;  
    border-radius: 8px;
    width: 40%;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#banned img {
    height: 100px;
    width: 100px;
    margin-top: 20px;
}

#banned h1 {
    font-family: "DM Sans", sans-serif;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 0;
}

#banned h1 span {
    background: linear-gradient(90deg, #4E00CA, #FF0044);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: transparent;
    font-family: "Cal Sans", sans-serif;
}

#banned p {
    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    color: #96979e;
    margin-bottom: 20px;
    padding: 20px 30px;
    margin-top: 0;
}

#banned p span {
    color: #fff;
}

#webContainer {
    display: flex;
    flex-direction: row;
    height: 95vh;
    margin-top: 5vh;
    padding: 0;
}

#webContainer.drag-over {
    opacity: 75%;
}

#sidebar {
    width: 25vw;
    height: 95vh;
    background-color: #121214;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    overflow-y: auto;
}

#main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

#chatContainer {
    flex: 1;              
    display: flex;
    flex-direction: column;
    font-size: 2rem;
    overflow: hidden;
}

/* MESSAGE BAR */

#messageBar {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    padding: 2px;
    background: none;
    width: calc(100% - 25px);
}

#messageRow {
    display: flex;
    align-items: center;
    border: none;
    background-color: #222327;
    border-radius: 8px;
    outline: #29292d solid 1px;
}

#messageRow:focus-within {
    outline: #313135 solid 1px;
}

#messageInput {
    padding: 18px;
    padding-left: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background: none;
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    flex: 1 1 0;
    min-width: 0;
    width: 0;
    box-sizing: border-box;
    resize: none;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 60px;
    max-height: 60px;
}

#messageInput:focus {
    outline: none;
}

#messageInput:empty::before,
#messageInput:has(> br:only-child)::before {
    content: attr(data-placeholder);
    color: #96979e;
    pointer-events: none;
    display: block;
}

.input-mention {
    color: #96979e;
}

#attachBtn {
    padding: 6px 10px;
    font-size: 1.7rem;
    color: #96979e;
    background: none;
    border: none;
    margin-left: 10px;
    cursor: pointer;
}

#attachBtn:hover {
    color: #ffffff;
}

#attachedFileLabel {
    margin-bottom: 15px;
    margin-left: 10px;
    margin-top: 5px;
    font-size: 1rem;
    color: #96979e;
}

/* SIDEBAR */

#userSidebar {
    margin-top: 10px;
    background-color: #1c1c1e;
    display: flex;
    align-items: center;
    height: 6vh;
    width: 94%;
    border-radius: 8px;
    justify-content: space-between;
    flex-shrink: 0;
}

#username {
    flex: 1;
    margin-left: 15px;
    color: #ffffff;
    font-size: 1.3rem;
    display: inline-block;  
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;    
    
    background: linear-gradient(90deg, #96979e 50%, #ffffff 50%);
    background-size: 200% 100%;
    background-position: 100% 0; 
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: background-position 0.5s ease;
}

#username:hover {
    background-position: 0% 0;
}

#adminBtn {
    font-family: "DM Sans", sans-serif;
    margin-top: 15px;
    width: 94%;
    padding: 10px;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #4E00CA 0%, #FF0044 50%, #4E00CA 100%);
    color: #ffffff;
    cursor: pointer;
    background-size: 200% 100%;
    background-position: 0% 0%;
    transition: background-position 0.4s ease;
    display: none;
}

#adminBtn:hover {
    background-position: 100% 0%;
}

.tabBtn {
    font-family: "DM Sans", sans-serif;
    background-color: transparent;
    border: none;
    color: #96979e;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 15px;
    width: 94%;
    padding: 10px;
    text-align: left;
    padding-left: 20px;
    border-radius: 8px;
}

.tabBtn:hover {
    background-color: #1c1c1e;
    cursor: pointer;
    color: #ffffff;
}

.tabBtn.active {
    background-color: #2c2c30;
    color: white;
}

.tabBtn span {
    font-family: sans-serif;
    display:inline-block;
    transform: scale(1.5,1.2);
    color: #96979e;
}

.tabBtn.active span {
    color: #ffffff;
}

.actionButton {
    font-family: "DM Sans", sans-serif;
    background-color: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 15px;
    width: 94%;
    padding: 10px;
    text-align: left;
    padding-left: 20px;
    border-radius: 8px;
    cursor: pointer;

    background: linear-gradient(90deg, #96979e 50%, #ffffff 50%);
    background-size: 200% 100%;
    background-position: 100% 0; 
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: background-position 0.5s ease;
}

.actionButton:hover {
    background-color: #1c1c1e;
    background-position: 0% 0;
}

#serverListTitle {
    margin-top: 30px;
    color: #ffffff;
    font-size: 1.2rem;
    align-self: flex-start;
    margin-left: 5%;
}

#noServersMsg {
    margin-top: 10px;
    color: #96979e;
    font-size: 1rem;
    align-self: flex-start;
    margin-left: 5%;
    display: none;
}

#serverList {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    width: 94%;
    padding-bottom: 10px;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}

.serverRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    padding: 10px;
    border-radius: 8px;
}

.serverRow:hover {
    background-color: #1c1c1e;
}

.serverRow.active {
    background-color: #2c2c30;
    color: white;
}

.serverButton {
    flex: 1;
    text-align: left;
    background-color: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.serverHash {
    font-family: sans-serif;
    display:inline-block;
    transform: scale(1.5,1.2);
    color: #96979e;
}

.serverHash:has(i) {
    transform: scale(0.8,1);
    margin: 0;
}

.systemGear {
    transform: scale(1) !important;
}

.serverName {
    color: #96979e;
    margin-left: 15px;
    font-family: "DM Sans", sans-serif;
}

.serverRow:hover .serverName {
    color: #ffffff;
}

.serverRow.active .serverName {
    color: #ffffff;
}

.serverRow.active .serverHash {
    color: #ffffff;
}

.unreadBadge {
    background: #96979e;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    color: #121214;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
    pointer-events: none;
    display: none;
}

/* GUIDELINES */

#guidelinesContainer {             
    height: 95vh;
    overflow-y: auto;
}

#guidelines {
    padding: 30px;
}

#guidelinesHeader {
    display: flex;
    flex-direction: row;
}

#guidelinesHeader img {
    height: 50px;
    width: 50px;
    margin-right: 10px;
}

#guidelines h1 {
    font-family: "Cal Sans", sans-serif;
    font-size: 2rem;
    color: #ffffff;
    margin: 0;
}

#guidelines h2 {
    font-family: "DM Sans", sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin-top: 20px;
    font-weight: 600;
}

#guidelines p {
    font-family: "DM Sans", sans-serif;
    font-size: 1.2rem;
    color: #96979e;
    margin-top: 10px;
}

#guidelines code {
    background-color: #222327;
    padding: 1px 3px;
    border-radius: 5px;
}

#guidelines a {
    color: #96979e;
    background: linear-gradient(90deg, #ffffff 50%, #96979e 50%);
    background-size: 200% 100%;
    background-position: 100% 0; 
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: background-position 0.5s ease;
}

#guidelines a:hover {
    background-position: 0% 0;
}

#feedbackForm {
    max-width: 90%;
    margin: 0;
    display: flex;
    flex-direction: column;
    padding: 30px 60px;
}

#feedbackForm h1 {
    font-family: "Cal Sans", sans-serif;
    font-size: 2rem;
    color: #ffffff;
    margin: 0;
    margin-bottom: 20px;
    font-weight: 500;
}

#feedbackForm p {
    font-family: "DM Sans", sans-serif;
    font-size: 1.2rem;
    color: #96979e;
}

.feedbackFields {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 50px;
}

.feedbackField {
    display: flex;
    flex-direction: column;
}

#feedbackForm label {
    font-family: "DM Sans", sans-serif;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 9px;
}

#feedbackCategory,
#feedbackMessage {
    box-sizing: border-box;
    width: 100%;
    font-family: "DM Sans", sans-serif;
    font-size: 1.1rem;
    background-color: #2c2c30;
    border: 1px solid transparent;
    color: #ffffff;
    border-radius: 8px;
}

#feedbackCategory {
    height: 48px;
    padding: 0 14px;
    cursor: pointer;
    appearance: none;
}

#feedbackMessage {
    height: 180px;
    padding: 14px;
    resize: none;
    min-height: 120px;
    max-height: 400px;
    line-height: 1.5;
}

#feedbackCategory:hover,
#feedbackMessage:hover {
    background-color: #303035;
}

#feedbackCategory:focus,
#feedbackMessage:focus {
    outline: #313135 solid 1px;
}

.labelRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.labelRow label {
    margin-bottom: 9px;
}

#feedbackCharCount {
    font-family: "DM Sans", sans-serif;
    font-size: 0.8rem;
    color: #686970;
}

.feedbackSubmit {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 28px;
    padding-top: 25px;
    border-top: 1px solid #303035;
}

.feedbackSubmit > span {
    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    color: #686970;
}

#feedbackForm button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 165px;
    height: 48px;
    padding: 0 18px;
    border: none;
    border-radius: 8px;
    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    background-color: #3a3a40;
    cursor: pointer;
    transition:
        transform 0.15s ease;
}

#feedbackForm button:hover {
    background-color: #4a4a51;
}

.submitArrow {
    font-size: 1.2rem;
    transition: transform 0.15s ease;
}

#feedbackForm button:hover .submitArrow {
    transform: translateX(3px);
}

/* MESSAGES */

#messages {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.message {
    padding: 0 20px;
    margin-bottom: 20px;
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    overflow: hidden;
}

.dm-message {
    background-color: #1c1c1e;
}

.dm-tag {
    color: #96979e;
    margin-left: 20px;
    font-size: 1.2rem;
    font-family: "DM Sans", sans-serif;
}

.dm-username {
    margin-left: 0 !important;
}

.message.grouped {
    margin-top: -12px;
}

.message:hover {
    background-color: #222327;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 6px;
    align-items: center;
}

.username {
    font-weight: 600;
    color: #ffffff;
    font-size: 1.4rem;
    display: flex;
    margin-bottom: 5px;
    margin-left: 20px;
}

.admin-username {
    background: linear-gradient(90deg, #4E00CA, #FF0044);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    background-clip: transparent;
    font-size: 1.4rem;
}

.admin-badge {
    display: inline-block;
    color: #96979e;
    font-size: 1.1rem;
    margin-left: 10px;
    align-self: center;
}

.system-username {
    font-weight: 600;
    color: #96979e;
    font-size: 1.4rem;
    display: flex;
    margin-bottom: 5px;
}

.text {
    color: #ffffff;
    font-size: 1.3rem;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    margin-left: 20px;
    min-width: 0;
}

.timestamp {
    font-size: 0.8rem;
    color: #96979e;
    margin-left: 10px;
}

.server-image {
    max-width: 250px; 
    max-height: 250px;  
    border-radius: 6px;
    margin-top: 10px;
    object-fit: contain; 
    margin-left: 20px;
}

.image-placeholder {
    background-color: #2c2c30;
    color: #96979e;
    font-size: 1.5rem;
    height: 100px;
    width: 300px;
    border-radius: 6px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    margin-bottom: 10px;
}

.file-box {
    display: flex;
    align-items: center;
    background-color: #222327;
    border-radius: 6px;
    cursor: pointer;
    padding: 5px 20px;
    margin-top: 10px;
    transition: background 0.15s ease;
    width: fit-content;
    height: 50px;
    font-size: 1.3rem;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-left: 20px;
    margin-bottom: 10px;
    color: #96979e;
    outline: #313135 solid 1px;
}

.msg-join-voice-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 30%;
    padding: 5px 0;
    margin: 15px;
    border: none;
    border-radius: 8px;
    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    background-color: #3a3a40;
    cursor: pointer;
    transition:
        transform 0.15s ease;
}

.msg-join-voice-btn:hover {
    background-color: #4a4a51;
}

.joinVoiceArrow {
    font-size: 1.2rem;
    transition: transform 0.15s ease;
}

.msg-join-voice-btn:hover .joinVoiceArrow {
    transform: translateX(3px);
}

.hidden {
    display: none !important;
}

.announcement-title {
    font-weight: 600;
    color: #ffffff;
    font-size: 1.4rem;
    display: flex;
    margin-bottom: 5px;
    margin-left: 20px;
}

.announcement-body {
    color: #ffffff;
    font-size: 1.3rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    margin-left: 20px;
}

.chat-link {
    color: #96979e;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.2s ease-in-out;
}

.chat-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #96979e;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease-in-out;
}

.chat-link:hover::after {
    transform: scaleX(1);
}

/* FEEDBACK */

#feedbackViewer {
    height: 90vh;
    width: 100%;
    overflow-x: hidden;
}

.feedbackMessage {
    padding: 0 20px;
    margin-bottom: 20px;
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;

    word-wrap: break-word;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    overflow: hidden;
}

.feedbackMessage:hover {
    background-color: #222327;
}

.feedback-header {
    display: flex;
    align-items: center;
    gap: 6px;
    align-items: center;
}

.feedback-category {
    font-weight: 600;
    color: #ffffff;
    font-size: 1.4rem;
    display: flex;
    margin-bottom: 5px;
    margin-left: 20px;
}

.feedback-body {
    color: #ffffff;
    font-size: 1.3rem;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    margin-left: 20px;
    min-width: 0;
}

.feedback-timestamp {
    font-size: 0.8rem;
    color: #96979e;
    margin-left: 10px;
}

.feedback-footer {
    color: #ffffff;
    font-size: 1.3rem;
    margin-left: 20px;
}

/* RIGHT CLICK MENU */

.context-menu {
    position: fixed;
    z-index: 1000;
    background: #222327;
    border-radius: 6px;
    padding: 6px;
    min-width: 150px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform-origin: top left;
    animation: menuSlideDown 0.15s ease-out;
    outline: #29292d solid 1px;
}

.context-menu.open-up {
    transform-origin: bottom left;
    animation: menuSlideUp 0.15s ease-out;
}

.context-menu.hidden {
    display: none;
}

.danger {
    color: #e57573 !important;
}

.danger:hover {
    background-color: #34282d !important;
}

@keyframes menuSlideDown {
    0% {
        transform: translateY(-8px) scale(0.95);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes menuSlideUp {
    0% {
        transform: translateY(8px) scale(0.95);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.context-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.context-menu li {
    padding: 8px 10px;
    font-size: 14px;
    color: #ffffff;
    cursor: pointer;
    border-radius: 4px;
    font-family: 'DM Sans', sans-serif;
}

.context-menu li:hover {
    background-color: #29292d;
    color: #ffffff;
}

.context-menu li.disabled {
    opacity: 0.5;
    cursor: default;
    background-color: transparent;
}

/* RIGHT SIDEBAR */

#rightSidebar {
    width: 22%;
    height: 95vh;
    background-color: #1a1a1e;
    border-left: #29292d 1px solid;
    display: none;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    overflow-y: auto;
}

#closeRightSidebar {
    align-self: flex-start;
    margin: 10px;
    font-size: 1rem;
    border: none;
    background: none;
    color: #96979e;
    cursor: pointer;
    font-family: "DM Sans", sans-serif;
}

#closeRightSidebar:hover {
    color: #ffffff;
}

.sidebar-section {
    width: 95%;
    margin-top: 0;
}

.section-title {
    font-family: "DM Sans", sans-serif;
    font-size: 1rem;   
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 5px;
    margin-left: 10px;
    color: #96979e;
}

.member-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.member-list li {
    padding: 8px 10px;
    font-size: 1.2rem;
    color: #ffffff;
    cursor: pointer;
    border-radius: 4px;
    font-family: 'DM Sans', sans-serif;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.member-list li:hover {
    background-color: #222327;
}

/* VOICECHAT */

#voice-container {
    display: flex;
    flex-direction: column;
    height: 95vh;
}

#voiceHeader {
    display: flex;
    align-items: center;
    border-bottom: #29292d 1px solid;
    padding: 7px;
    padding-top: 0;
}

#voiceBackBtn {
    font-size: 1rem;
    border: none;
    background: none;
    color: #96979e;
    cursor: pointer;
    font-family: "DM Sans", sans-serif;
    margin: 0;
}

#voiceBackBtn:hover {
    color: white;
}

#voiceMuteBtn {
    margin: 0;
    margin-left: 20px;
    font-size: 1rem;
    border: none;
    background: none;
    color: #96979e;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
}

#voiceMuteBtn:hover {
    background-color: #222327;
    color: #fff;
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-auto-rows: 1fr; 
    flex: 1;
    gap: 12px;
    padding: 16px;
    box-sizing: border-box;
}

.voice-card {
    background: #222327;
    border: 1px solid #29292d;
    border-radius: 12px;   
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.voice-card.speaking {
    border: 2px solid #434347;
}

.voice-card .username {
    color: #fff;
    font-size: 1.5rem;
    font-family: "DM Sans", sans-serif;
    text-align: center;
    word-break: break-word;
}

/* SYSTEM SETTINGs */

#systemContainer h1 {
    font-family: "Cal Sans", sans-serif;
    font-size: 2rem;
    color: #ffffff;
    margin: 20px 30px 40px 30px;
    font-weight: 500;
}

.setting-item {
    padding: 5px 30px;
    margin-bottom: 20px;
    margin-left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    gap: 16px;
}

.setting-item span {
    color: #ffffff;
    font-size: 1.3rem;
}

.setting-item:hover {
    background-color: #222327;
}

#systemContainer hr {
    border: none;
    border-top: 1px solid #29292d;
    margin-bottom: 20px;
}

.setting-item input[type="checkbox"],
.setting-item select,
.setting-item button {
    margin-left: auto;
    flex-shrink: 0;
}

.setting-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 42px;
    height: 22px;
    background-color: #222327;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: background-color 0.1s ease;
    flex-shrink: 0;
}

.setting-item input[type="checkbox"]::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background-color: #fff;
    border-radius: 5px;
    transition: transform 0.2s ease;
}

.setting-item input[type="checkbox"]:checked {
  background-color: #96979e;
}

.setting-item input[type="checkbox"]:checked::before {
  transform: translateX(20px);
}

.setting-item select {
    box-sizing: border-box;
    font-family: "DM Sans", sans-serif;
    font-size: 1.1rem;
    background-color: #2c2c30;
    border: 1px solid transparent;
    color: #ffffff;
    border-radius: 8px;
    padding: 5px 10px;
    cursor: pointer;
    appearance: none;
}

.setting-item select:hover {
    background-color: #303035;
}