.window{
	z-index: 999;
	position: absolute;
	width: 100vw;
	height: 100vh;
	background-color: #111111;
	background-color: #11111188;
	backdrop-filter: blur(3px);
	display: none;
	justify-content: center;
	align-items: center;
	font-weight: 100 !important;
	font-family:  system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
	color: #fafafa;

}

.window-container{
	position: relative;
	border-radius: .3rem;
	min-width: 18rem;
	min-height: 18rem;
	background-color: #0d0e18;
	background-color: #0d0e18dd;
	box-shadow: 0 0 .6rem #454545;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.close-button{
	position: absolute;
	right: .6rem;
	top: .6rem;
	width: 1.7rem;
	height: 1.7rem;
	cursor: pointer;
	border: none;
	border-radius: .3rem;
	box-shadow: 0 0 .2rem #252525;
	background-color: #eee;
}

.close-image-button{
	width: 100%;
	height: 100%;
	transform: rotate(45deg);
	filter: invert(90%);
}


.window-form{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
	margin-top: auto;

	height: 100%;

}

.window-field{
	display: none !important;
	border: none;
	color: white;
	letter-spacing: 2px;
	display: flex;
	align-items: center;
}

.window-field input[type=checkbox]{
	border-radius: 18%;
	appearance: none;
	background-color: red;
	width: .9rem;
	height: .9rem;
	margin-right: .5rem;
	border: 1px solid white;
	cursor: pointer;

}

.window-field input[type=checkbox]:checked{
	background-color: green;
}


.window nav{
	display: flex;
	flex-direction: row;
	margin: auto;
	margin-top: 3rem;

}



.window-button{
	border-radius: 1rem/50%;
	padding: .3rem 1rem;
	font-size: 1.2rem;
	border: none;
	background-color: #444;	
	color: white;
	margin: .2rem;
	cursor: pointer;
	box-shadow: 0 0 .2rem #252525;
}


#about img{
	margin-top: auto;
	max-width: 5.2rem;
}

#about .window-container{
	width: 20rem;
}

.window h2{
	text-align: center;
	margin-bottom: 0rem;
	font-weight: 100;
}


#changelog-box{
	max-width: 80%;
	margin-top: .7rem;
	margin-bottom: .4rem;
	font-weight: 100;
}

#changelog{
	max-height: 7.2rem;
    overflow-y: auto;
	padding-left: 0;
	font-size: 9.5pt;
	list-style-type: none;
	margin-bottom: 0px;
}

#changelog-box h3{
	margin: 0;
	margin-top: 1rem;
	text-align: center;
	font-size: 1rem;
	font-weight: 100;
}

#changelog li::before{
	display: inline-block;
	content: "◗";
	padding-right: .5rem;
	line-height: 0;
	font-size: 6pt;
	vertical-align: middle;
}

#about p{
	margin-top: 0px;
	color: #ccc;
}

#about pre{
	margin-bottom: .3rem;
	margin-top: 1.2rem;
}

#rights {
	margin-top: 1rem !important;
	font-size: .74rem;
	margin-bottom: 0;
	text-align: center;
}

#rights a{
	color: rgb(103, 175, 186) !important;
	text-decoration: none;
}

#export-format .window-container {
	min-width: 25rem;
	min-height: 20rem;
	padding: 2rem;
}

#export-format h2 {
	margin-bottom: 0.5rem;
	font-weight: 100;
	text-align: center;
}

#export-format p {
	margin-bottom: 2rem;
	color: #ccc;
	text-align: center;
}

.format-options {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
}

.format-option {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem;
	border: 2px solid #444;
	border-radius: 0.5rem;
	background-color: transparent;
	color: white;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: left;
	width: 100%;
}

.format-option:hover {
	border-color: #fcc907;
	background-color: #fcc90722;
}

.format-option.selected {
	border-color: #fcc907;
	background-color: #fcc90722;
}

.format-icon {
	font-size: 2rem;
	text-align: center;
	line-height: 0;
}

.format-info {
	flex: 1;
}

.format-name {
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 0.2rem;
}

.format-desc {
	font-size: 0.9rem;
	color: #ccc;
}

.window-input {
    font-size: 1.2rem;
    padding: .5rem;
    border-radius: .3rem;
    border: 1px solid #444;
    background: #222;
    color: #fafafa;
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.window-choice-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0 1rem 0;
}
.window-choice-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #222;
    border: 2px solid #444;
    border-radius: .5rem;
    color: #fafafa;
    font-size: 1.1rem;
	line-height: 0;

    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    width: 3.5rem;
    height: 3.5rem;
    outline: none;
	background-color: white;
}
.window-choice-btn.selected, .window-choice-btn:focus, .window-choice-btn:hover {
    border-color: #fcc907;

}
.window-choice-btn > * {
    width: 2.2rem;
    height: 2.2rem;
    pointer-events: none;
}
.window-choice-btn .choice-label {
    font-size: 1rem;
    margin-top: .1rem;
    color: #fafafa;
    text-align: center;
	pointer-events: none;
}


#customPromptForm{
	max-width: 88vw;
	min-width: 300px;
}

.window-container ::-webkit-scrollbar-thumb{
	background: white;
}

.window-container ::-webkit-scrollbar-track{
	background: none;
}



#options-popup{
	position: absolute;


    left: 3.7rem;
    bottom: .3rem;
    background: #0d0e18;
    border-radius: .3rem;
	color: #fafafa;
    font-size: .7rem;
	z-index: 88;
}

#options-popup > div{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: .4rem;
	box-sizing: border-box;
}




#options-popup button{
	background-color: white;
}

#options-popup .indicator{
	background-color: white;
}

.options-icon{
	margin-right: auto;
	width: 1.3rem;
}


#custom-line-fields{
	display: none;

}

/* Custom line selector UI */
#custom-line {
	margin-top: 2rem;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 1.2rem;
}

.custom-switch-group {
	display: flex;
	flex-direction: row;
	gap: 0.5rem;
	align-items: center;
}

.custom-switch {
	border-radius: 1rem/50%;
	padding: 0.3rem 1.2rem;
	font-size: 1.1rem;
	border: 2px solid #444;
	background-color: #222;
	color: #fafafa;
	cursor: pointer;
	box-shadow: 0 0 .2rem #252525;
	transition: border-color 0.2s, background 0.2s;
}
.custom-switch.selected, .custom-switch:focus, .custom-switch:hover {
	border-color: #fcc907;
	background-color: #fcc90722;
	color: #222;
}

#custom-line input[type="text"] {
	font-size: 1.1rem;
	padding: .4rem;
	border-radius: .3rem;
	border: 1px solid #444;
	background: #222;
	color: #fafafa;
	width: 7rem;
	box-sizing: border-box;
}

#validate-custom-btn {
	margin-left: 1rem;
	border-radius: 1rem/50%;
	padding: .3rem 1rem;
	font-size: 1.1rem;
	border: none;
	background-color: #444;
	color: white;
	cursor: pointer;
	box-shadow: 0 0 .2rem #252525;
}