html{
	box-sizing: border-box;
	moz-box-sizing: border-box;
	webkit-box-sizing: border-box;
	webkit-text-size-adjust: none;
}

html,
body{
	background-color: var(--color-background);
	color: var(--color-text-pri);
	font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Roboto, sans-serif;
	font-size: 14px;
	font-weight: 400;
	height: auto;
	letter-spacing: -.012em;
	// margin: 0;
	margin-bottom: 50px;
	padding: 0;
	webkit-font-smoothing: antialiased;
	width: 100vw;
}

*,
*:before,
*:after{
	box-sizing: inherit;
	moz-box-sizing: inherit;
	webkit-box-sizing: inherit;
}

:root{
	module-spacing: 3vh;
}

/* CONFIGURATION EDITOR STYLES */

.tab-button {
    background: var(--color-background-sec);
    border: 1px solid var(--color-border);
    color: var(--color-text-pri);
    cursor: pointer;
    padding: 8px 16px;
    margin-right: 4px;
    border-radius: 4px 4px 0 0;
    transition: all 0.2s ease;
}

.tab-button:hover {
    background: var(--color-background-ter);
}

.tab-button.active {
    background: var(--color-background);
    color: var(--color-text-acc);
    border-bottom-color: var(--color-accent);
}

.tab-content {
    display: none;
    padding: 20px 0;
    border-top: 2px solid var(--color-border);
    margin-top: -1px;
}

.tab-content.active {
    display: block;
}

.editor-header {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.btn-primary, .btn-success, .btn-secondary, .btn-danger {
	opacity: 0.8;
    padding: 5px 5px;
	border-width:0px 0px 0px 0px;
	border-style:solid;
	border-color:var(--color-border);
    border-radius: 4px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
	outline: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    transition: all 0.5s ease;
}

.btn-primary {
    background: var(--color-background);
    color: var(--color-text-pri);
}

.btn-primary:hover {
    opacity: 1;
	transition-property: opacity;
    transition-duration: 0.5s;
}
.btn-primary:not(:hover) {
    opacity: 0.8;
	transition-property: opacity;
    transition-duration: 0.5s;
}

.btn-success {
    background: var(--color-background);
    color: var(--color-text-acc);
}

.btn-success:hover {
    opacity: 1;
	transition-property: opacity;
    transition-duration: 0.5s;
}
.btn-success:not(:hover) {
    opacity: 0.8;
	transition-property: opacity;
    transition-duration: 0.5s;
}

.btn-secondary {
    background: var(--color-background-sec);
    color: var(--color-text-pri);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    opacity: 1;
	transition-property: opacity;
    transition-duration: 0.5s;
}
.btn-secondary:not(:hover) {
    opacity: 0.8;
	transition-property: opacity;
    transition-duration: 0.5s;
}

.btn-danger {
    background: var(--color-text-acc);
    color: white;
}

.btn-danger:hover {
    opacity: 1;
	transition-property: opacity;
    transition-duration: 0.5s;
}
.btn-danger:not(:hover) {
    opacity: 0.8;
	transition-property: opacity;
    transition-duration: 0.5s;
}

.categories-container {
    max-height: 600px;
    overflow-y: auto;
	padding: 10px;
}

.category-section {
    background: var(--color-background-sec);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
    transition: all 0.2s ease;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.category-section:hover {
    border-color: var(--color-accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* .category-section[draggable="true"]:hover {
    cursor: move;
} */

.category-header {
    display: flex;
    align-items: center;
    gap: 10px;
	padding-left: 15px;
	padding-right: 15px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
	// box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.drag-handle {
    cursor: grab;
    color: var(--color-text-acc);
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drag-handle:hover {
    background: var(--color-background-ter);
    color: var(--color-accent);
}

.drag-handle:active {
    cursor: grabbing;
}

.category-actions {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-left: auto;
}

.category-title {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: var(--color-background);
    color: var(--color-text-pri);
    font-size: 16px;
    font-weight: 500;
    transition: border-color 0.2s ease;
}

.category-title:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(var(--color-accent-rgb), 0.2);
}

.category-actions {
    display: flex;
    gap: 5px;
}

.items-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
	padding-left: 50px;
	padding-right: 15px;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.item-row {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 12px;
    display: grid;
    grid-template-columns: auto 1fr 2fr auto auto auto;
    gap: 10px;
    align-items: center;
    transition: all 0.2s ease;
}

.item-row:hover {
    border-color: var(--color-accent);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* .item-row[draggable="true"]:hover {
    cursor: move;
} */

.item-actions {
    display: flex;
    gap: 4px;
    align-items: center;
}

.item-input, .target-select {
    background: var(--color-background-sec);
    border: 1px solid var(--color-border);
    color: var(--color-text-pri);
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.item-input:focus, .target-select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(var(--color-accent-rgb), 0.2);
}


.icon-input-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-preview {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-background-sec);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-preview:hover {
    background: var(--color-background-ter);
    border-color: var(--color-accent);
}

.icon-input {
    min-width: 150px;
}

/* ICON PICKER MODAL */

.icon-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.icon-modal.active {
    display: flex;
}

.icon-modal-content {
    background: var(--color-background);
    color: var(--color-text-pri);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.icon-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--color-border);
}

.icon-modal-header h3 {
    color: var(--color-text-pri);
    margin: 0;
}

.icon-modal-close {
    background: none;
    border: none;
    color: var(--color-text-pri);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.icon-modal-close:hover {
    background: var(--color-background-sec);
    color: var(--color-accent);
}

.icon-search-container {
    padding: 15px 20px;
    border-bottom: 1px solid var(--color-border);
}

.icon-search-container input {
    width: 100%;
    background: var(--color-background-sec);
    border: 1px solid var(--color-border);
    color: var(--color-text-pri);
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.icon-search-container input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(var(--color-accent-rgb), 0.2);
}

.icon-search-info {
    color: var(--color-text-sec);
    font-size: 12px;
    margin-top: 5px;
}

.icon-grid {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--color-background-sec);
    color: var(--color-text-pri);
}

.icon-item:hover {
    background: var(--color-text-acc);
    color: var(--color-background);
    border-color: var(--color-text-acc);
    transform: translateY(-2px);
}

.icon-item.selected {
    background: var(--color-text-acc);
    color: var(--color-background);
    border-color: var(--color-text-acc);
    box-shadow: 0 0 0 2px var(--color-text-acc);
}

.icon-item .iconify {
    font-size: 24px;
    margin-bottom: 5px;
}

.icon-name {
    font-size: 10px;
    text-align: center;
    word-break: break-all;
}

.icon-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid var(--color-border);
    background: var(--color-background-sec);
}

.loading-text {
    text-align: center;
    color: var(--color-text-sec);
    padding: 40px;
    font-style: italic;
}

.error-text {
    text-align: center;
    color: #ef4444;
    padding: 40px;
}

/* TARGET SELECTION */
.target-select {
    background: var(--color-background-sec);
    border: 1px solid var(--color-border);
    color: var(--color-text-pri);
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .item-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .icon-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }

    .icon-modal-content {
        width: 95%;
        margin: 10px;
    }
}


/* TEXT STYLES */

h1, h2{
	font-weight: 300;
	margin: 0;
	padding: 0;
	text-align: left;
}

h2, h3, h4{
    text-transform: uppercase;
}

h1{
	font-size: 4em;
	font-weight: 700;
	margin-bottom: 0.5em;
}

h2{
	font-size: 16px;
	height: 30px;
	
}

h3{
	font-size: 20px;
	font-weight: 900;
	height: 10px;
}

h4{
	font-size: 1.1em;
	font-weight: 400;
	height: 10px;
}

a{
	color: var(--color-text-pri);
	text-decoration: none;
}

a:hover{
	text-decoration: underline;
	webkit-text-decoration-color: var(--color-text-acc);
	webkit-text-decoration-skip: true;
}

.icon{
	font-size: 2.5em;
}


/* FORMS */

input{
	background-color: transparent;
	border: 0;
	border-bottom: thin solid var(--color-text-acc);
	color: var(--color-text-pri);
	font-size: 0.8em;
	height: 3.5em;
	transition: all 0.4s ease;
	width: 100%;
}

input:focus{
	color-border: var(--color-text-pri);
	outline: none;
}

input:focus{
	opacity: 1;
}


/* TABLES */

table{
	border: thin solid var(--color-text-pri);
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 1em;
	text-align: left;
	width: 100%;
}

table td:nth-of-type(2){
	padding-right: 5em;
	color: var(--color-text-acc);
}

table td{
	border: var(--color-text-pri);
	color: var(--color-text-pri);
	font-size: 1em;
	overflow: hidden;
	padding: 10px 5px;
	word-break: normal;
}

table th{
	border: thin solid var(--color-text-pri);
	color: var(--color-text-pri);
	font-weight: bold;
	padding: 10px 5px;
}

table a{
	color: var(--color-text-pri);
}


/* ANIMATION */

.fade{
	opacity: 0;
}

@keyframes fadeseq{
	100%	{
		opacity: 1;
	}
}

.fade{
	opacity: 0;
}

.fade{
	animation: fadeseq .3s forwards;
}

.fade:nth-child(2){
	animation-delay: .4s;
}


/* LAYOUT */

#container{
	align-items: stretch;
	display: grid;
	grid-column-gap: 20px;
	grid-row-gap: 3vh;
	grid-template-columns: 1fr;
	grid-template-rows: 8vh auto;
	justify-items: stretch;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5vh;
	width: 60%;
}



/* SECTIONS */

#header{
	border-bottom: 0px solid var(--color-text-acc);
	z-index: 1;
}

#apps_loop{
	border-bottom: 0px solid var(--color-text-acc);
	display: grid;
	grid-column-gap: 0px;
	grid-row-gap: 0px;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-template-rows: 64px;
	padding-bottom: var(--module-spacing);
}

.apps_icon{
	height: 64px;
	margin-right: 1em;
	padding-top: 15px;
}

.apps_icon span{
	font-size: 2.5em;
	line-height: 3rem;
}

.apps_item{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	height: 64px;
	margin: 0;
}

.apps_text{
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1;
	overflow: hidden;
}

.apps_text a{
	font-size: 1em;
	font-weight: 500;
	text-transform: uppercase;
}

.apps_text span{
	color: var(--color-text-acc);
	font-size: 0.8em;
}


#links_loop{
	display: grid;
	flex-wrap: nowrap;
	grid-column-gap: 20px;
	grid-row-gap: 0px;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-template-rows: auto;
}

#links_item{
	line-height: 1.5rem;
	margin-bottom: 2em;
	webkit-font-smoothing: antialiased;
}

#links_item h4{
	color: var(--color-text-acc);
}

#links_item a{
	display: block;
	line-height: 2;
}















/* MODAL */


#modal{
	overflow-y: auto;
	bottom: 0;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	right: 0;
	top: 0;
	transition: all 0.3s;
	z-index: 20;
}

#modal:target{
	opacity: 1;
	pointer-events: auto;
}

#modal>div{
	background-color: var(--color-background);
	color: var(--color-text-pri);
	border: 2px solid var(--color-border);
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.25);
	margin-left: auto;
    margin-right: auto;
	padding: 2em;
	margin-top: 5vh;
	width: 70%;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
}

#modal h1{
	color: var(--color-text-pri);
	font-size: 2em;
}

#modal h2{
	margin-top:1.5em;
	color: var(--color-text-pri);
}

#modal-header{
    display:flex;
    justify-content: space-between;
}

#modal-footer{
    display:flex;
    font-size:2em;
    justify-content: flex-start;
}

#modal-footer a{
    margin-right:0.25em;
}

.modal-close{
	color: var(--color-text-pri);
	font-size: 1.5em;
	text-align: center;
	text-decoration: none;
	transition: color 0.2s ease;
}

.modal-close:hover{
	color: var(--color-accent);
}

#modal_init a{
	bottom: 1vh;
	color: var(--color-text-acc);
	left: 1vw;
	position: fixed;
}

#modal_init a:hover{
	color: var(--color-text-pri);
}

#modal-theme{
	border-bottom: 0px solid var(--color-text-acc);
	display: flex;
	flex-wrap: wrap;
    margin-bottom: 2em;
}

#providers{
    margin-bottom: 2em;
}


/* THEMING */

.theme-button{
	font-size: 0.8em;
	margin: 2px;
    width:128px;
	line-height: 3em;
	text-align: center;
	text-transform: uppercase;
}

.theme-blackboard{
	background-color: #000000;
	border: 4px solid #5c5c5c;
    color: #FFFDEA;
}

.theme-gazette{
	background-color: #F2F7FF;
	border: 4px solid #5c5c5c;
    color: #000000;
}

.theme-espresso{
	background-color: #21211F;
	border: 4px solid #4E4E4E;
    color: #D1B59A;
}

.theme-cab{
	background-color: #FEED01;
	border: 4px solid #424242;
    color: #1F1F1F;
}

.theme-cloud{
	background-color: #f1f2f0;
	border: 4px solid #35342f;
    color: #37bbe4;
}

.theme-lime{
	background-color: #263238;
	border: 4px solid #AABBC3;
    color: #aeea00;
}

.theme-passion{
	background-color: #f5f5f5;
	border: 4px solid #8e24aa;
    color: #12005e;
}

.theme-blues{
	background-color: #2B2C56;
	border: 4px solid #6677EB;
    color: #EFF1FC;
}

.theme-chalk{
	background-color: #263238;
	border: 4px solid #FF869A;
    color: #AABBC3;
}

.theme-tron{
	background-color: #242B33;
	border: 4px solid #6EE2FF;
    color: #EFFBFF;
}

.theme-paper{
	background-color: #F8F6F1;
	border: 4px solid #F5E1A4;
    color: #4C432E;
}


/* MEDIA QUERIES */

@media screen and (max-width: 1260px)
{
	#container
	{
		align-items: stretch;
		display: grid;
		grid-column-gap: 10px;
		grid-row-gap: 0px;
		grid-template-columns: 1fr;
		grid-template-rows: 80px auto;
		justify-items: stretch;
		margin-bottom: 1vh;
		margin-left: auto;
		margin-right: auto;
		width: 90%;
	}
    
	#apps_loop{
		grid-template-columns: 1fr 1fr 1fr;
		width: 100vw;
	}

	#links_loop	{
		grid-template-columns: 1fr 1fr 1fr;
	}

    #modal>div{
        margin-left: auto;
        margin-right: auto;
        margin-top: 5vh;
        width: 90%;
    }
}

@media screen and (max-width: 667px)
{
	html{
		font-size: calc(16px + 6 * ((100vw - 320px) / 680));
	}

	#container{
		align-items: stretch;
		display: grid;
		grid-column-gap: 20px;
		grid-row-gap: 0px;
		grid-template-columns: 1fr;
		grid-template-rows: 80px auto;
		justify-items: stretch;
		margin-bottom: 1vh;
		width: 90%;
	}

	h1{
		font-size: 4em;
		height: auto;
		margin-bottom: 0em;
	}

	h2{
		font-size: 1em;
		height: auto;
		margin-bottom: 0em;
	}

	h3{
		font-size: 1em;
	}

	#apps_loop{
		grid-column-gap: 0px;
		grid-row-gap: 0px;
		grid-template-columns: 1fr 1fr;
		width: 100vw;
	}

	.apps_icon{
		height: 64px;
		margin-right: 0.8em;
		padding-top: 14px;
	}

	.apps_icon span{
		font-size: 2em;
		line-height: 2.5rem;
	}
    
	#links_loop{
		display: grid;
		flex-wrap: nowrap;
		grid-column-gap: 20px;
		grid-row-gap: 0px;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
	}
}

/* Small Screens */
@media only screen and (max-width: 400px) {
	#app-address {
		display: none;
	}
}

/* Iframe Modal */
.iframe-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.iframe-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.iframe-modal-content {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    width: 95vw;
    height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.iframe-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-background-sec);
    border-radius: 8px 8px 0 0;
}

.iframe-modal-header h3 {
    margin: 0;
    color: var(--color-text-pri);
    font-size: 18px;
    font-weight: 500;
}

.iframe-modal-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    color: var(--color-text-sec);
    transition: all 0.2s ease;
}

.iframe-modal-close:hover {
    background: var(--color-text-acc);
    color: var(--color-background);
    transform: scale(1.1);
}

.iframe-modal-close .iconify {
    font-size: 20px;
}

#iframe-content {
    flex: 1;
    border: none;
    border-radius: 0 0 8px 8px;
    background: white;
}

@media (max-width: 768px) {
    .iframe-modal-content {
        width: 98vw;
        height: 95vh;
    }

    .iframe-modal-header {
        padding: 12px 15px;
    }

    .iframe-modal-header h3 {
        font-size: 16px;
    }
}

/* Login Modal */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
}

.login-modal[style*="flex"] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-modal-content {
    background: var(--color-background);
    color: var(--color-text-pri);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.login-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-background-sec);
    border-radius: 8px 8px 0 0;
}

.login-modal-header h3 {
    color: var(--color-text-pri);
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.login-modal-close {
    background: none;
    border: none;
    color: var(--color-text-pri);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.login-modal-close:hover {
    background: var(--color-background-ter);
    color: var(--color-accent);
}

#login-form {
    padding: 25px;
}

.login-form-group {
    margin-bottom: 20px;
}

.login-form-group label {
    display: block;
    color: var(--color-text-pri);
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.login-form-group input {
    width: 100%;
    background: var(--color-background-sec);
    border: 1px solid var(--color-border);
    color: var(--color-text-pri);
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    height: auto;
}

.login-form-group input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(var(--color-accent-rgb), 0.2);
}

.login-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.login-error {
    background: #fee;
    color: #c33;
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
    font-size: 14px;
    border: 1px solid #fcc;
}

/* Authentication Indicators */
.auth-indicator {
    font-size: 0.7em;
    margin-left: 0.3em;
    opacity: 0.7;
    color: var(--color-text-acc);
}

.apps_text .auth-indicator {
    font-size: 0.6em;
    margin-left: 0.2em;
}

.auth-required {
    position: relative;
}

/* Auth Status in Modal */
.auth-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0px 10px 15px 10px;
    background: var(--color-background-ter);
    border-radius: 6px;
    // margin-top: 10px;
    font-size: 14px;
}

.auth-info span {
    color: var(--color-text-pri);
    font-weight: 500;
}

.btn-logout {
    background: var(--color-background);
    color: var(--color-text-acc);
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.btn-logout:hover {
    opacity: 0.8;
}

/* Auth checkbox in config editor */
.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.auth-checkbox:hover {
    background: var(--color-background-ter);
}

.auth-checkbox input[type="checkbox"] {
    width: auto;
    height: auto;
    margin: 0;
    cursor: pointer;
}

.checkbox-label {
    font-size: 12px;
    color: var(--color-text-pri);
    white-space: nowrap;
}

/* Message animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}