
/* settingsfirmware.css — or append to existing file */

.fw-category-row {
    font-weight: bold;
    background: #f8f9fa;
    padding: 8px;
    margin: 10px 0 5px;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
}

.fw-category-row.collapsed::after {
    content: " ▼";
    float: right;
}

.fw-category-row.expanded::after {
    content: " ▲";
    float: right;
}

.fw-device-row {
    padding: 6px 12px;
    border-bottom: 1px solid #eee;
}

.fw-device-row.override-active {
    background: #fffacd; /* light yellow highlight */
    opacity: 1 !important;
}

.fw-device-row.grayed {
    opacity: 0.5;
    pointer-events: none;
}

.fw-status-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85em;
}

.fw-up-to-date    { background: #d4edda; color: #155724; }
.fw-update-available { background: #fff3cd; color: #856404; }
.fw-pending       { background: #cce5ff; color: #004085; }
.fw-failed        { background: #f8d7da; color: #721c24; }
.fw-unknown       { background: #e2e3e5; color: #383d41; }

.fw-override-toggle {
    cursor: pointer;
    color: #007bff;
    margin-left: 10px;
    font-size: 0.9em;
}

.fw-beta-input {
    width: 120px;
    margin-left: 10px;
    display: none;
}




.modal-content {
	position: relative;
}

.close-modal {
	display: inline-block;
	position: absolute;
	top: -17px;
	right: 8px;
	cursor: pointer;
}

.close-modal:hover {
	background-color: rgba(200,200,200,0.5);
}

.commcontacttype {
	width: 55px;
	display: inline-block;
	margin-left: 6px;
}

.contact-row {
	margin: 12px 0px 12px 15px;
	font-size: 1.2rem;	
}
.contact-value {
	margin: 0px 5px 0px 5px;
	width: 350px;
	font-size: 1.2rem;
}
.disabled-row input[type="text"], .disabled-row button { background-color: #f0f0f0; }
.verified {
	color: green;
	font-weight: bold;
}
.remove-btn {
	background-color: rgba(200,200,200,0.3);
	color: red;
	cursor: pointer;
	margin-left: 15px;
	padding: 5px;
	border-radius: 5px;
}
.verify-btn {
	font-size: 1.2rem;
	margin-left: 15px;
}

/*
.modal { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; }
.modal-content { background: white; margin: 15% auto; padding: 20px; width: 300px; border-radius: 5px; }
.close-modal { float: right; cursor: pointer; font-weight: bold; }
*/

/* Settings */

.spacer {
	position: relative;
	display: inline-block;
	font-size: 5px;
	margin-left: 5px;
	margin-right: 5px;
}

.previewdl {
	display: block;
	position: relative;
	font-size: 14px;
	margin: 3px 5px 3px 5px;
	max-width: 600px;
	max-height: 100px;
	overflow: auto;
}

.msdevtype {
	/* width: 200px; */
	--multi-select-min-width: 300px;
}
.msdevlist {
	width: 400px;
	--multi-select-min-width: 300px;
}

.stackme {
	display: block;
}

.topme {
	vertical-align: top;
	display: inline-block;
	position: relative;
}

.deviceselection {
	display: inline-block;
	position: relative;
}

.editaccountnameinput {
	position: absolute;
	font-size: 20px;
	left: 0px;
	top: 0px;
	width: calc(100% + 35px);
}

.editacctname {
	display: inline-block;
	position: relative;
	cursor: pointer;
	margin-left: 8px;
}

.defaultbackgroundtext {
	position: relative;
	top: calc(50% - 8px);
	left: 20px;
	margin-right: 20px;
}

.backgroundprefinput {
	position: absolute;
	top: calc(50% - 8px);
}

.backgroundimagechoice {
	position: relative;
	display: inline-block;
	height: 150px;
	vertical-align: top;
	margin-right: 10px;
	margin-bottom: 10px;
	width: 200px;
	overflow-x: hidden;
	overflow-y: hidden;
}

.backgroundimagechoice img {
	margin-left: 20px;
	width: 100%;
	height: 100%;
	border: 1px solid black;
}

.backgroundprefdiv {
	position: relative;
	margin-left: 12px;
	margin-top: 8px;
	margin-bottom: 10px;
	max-width: 1000px;
}

.inputrow {
	margin-left: 4px;
	margin-right: 4px;
	font-size: 1em;
}

.dldialog {
	position: absolute;
	background: rgba(250,250,250,1);
	border: 1px solid #aaa;
	border-radius: 5px;
	padding: 10px;
	max-width: calc(100vw - 60px);
}

.settingsdeletedata {
	/* border: 1px solid #aaa; */
	border-radius: 2px;
	margin: 2px;
	padding: 10px;
}

.settingsdataaccount {
	border: 1px solid #aaa;
	border-radius: 2px;
	margin: 2px;
	padding: 10px;
}

.dnldbtncont {
	position: relative;
}

.dnldspan {
	/* position: absolute;*/
	display: inline-block;
	top: 4px;
	left: 10px;
	background: rgba(230,230,230,0.8);
	border-radius: 4px;
	padding: 4px;
}


.shortfield {
	max-width: 200px;
	white-space: normal;
	word-wrap: break-word;
	display: inline-block;
}

.forcelink {
	cursor: pointer;
	text-decoration: underline;
}

.inlineheading {
	font-size: 16px;
	font-family: Verdana, Arial;
}

.inlinebutton {
	margin-left: 5px;
	margin-right: 5px;
	font-family: Verdana, Arial;
	border-radius: 10px;
}

#settingscontent table td {
	padding: 3px 10px 3px 10px;
}

.settingsaccountid {
	font-family: Tahoma, Courier;
	font-size: 16px;
}

.settingsaccountname {
	font-family: Cambria, Helvetica;
	font-size: 15px;
}

.settingsrolename {
	font-family: Rockwell, Consolas;
	font-size: 18px;
}

.settingsacctdevcnt {
	font-family: Tahoma, Courier;
/*	font-family: Impact, "Arial Black";*/
	font-size: 16px;
/*	font-weight: bold;*/
}

.passwordeye {
	position: relative;
	display: inline-block;
	top: 5px;
	left: 5px;
}

.passwordcheck {
	position: relative;
	display: inline-block;
	top: 1px;
	left: 10px;
}

#divsettingsbody {
	margin: 20px;
	position: relative;
}

#settingsmainbody {
	margin-top: 25px;
	position: relative;
}

#homelink {
	cursor: pointer;
	position:relative;
	text-align: center;
	width: 120px;
	background-color: rgba(190,190,190,0.5);
	border-radius: 15px;
}

#hometext {
	/*opacity: 0.6;*/
	color: #5c5c5c;
	font-size: 40px;
	font-weight: bold;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#homeimage {
	opacity: 0.25;
}

#settingsnav {
	position: relative;
	width: 300px;
	display: inline-block;
}

#settingscontent {
	position: absolute;
	left: 320px;
	display: inline-block;
}

.settingitem {
	border-radius: 15px;
	padding: 15px;
	font-size: 24px;
	color: #555;
	font-weight: bold;
}

.settingitem.activesetting {
	text-decoration: underline;
}

.settingitem:hover {
	background-color: #bbb;
	cursor: pointer;
}

.settingtitle {
	margin-top: 5px;
	font-family: "Segoe UI",Tahoma,Courier;
	/* font-weight: bold; */
	font-size: 32px;
	color: black;
	margin-bottom: 10px;
}

/* End Settings */


@media screen and (max-width: 800px){
	#divsettingsbody {
		margin: 20px 5px 20px 5px;
	}
	#settingsnav {
		width: 100%;
	}
	#settingscontent {
		left: unset;
		display: block;
	}
	.settingitem {
		padding: 0px 8px 0px 8px;
		display: inline-block;
		position: relative;
		line-height: 1.5;
		word-break: break-word;
		font-size: 22px;
		overflow-x: hidden;
	}
	.settingsdownloaddata .submitinput {
		font-size: 14px;
		margin: 0px 0px 0px 0px;
	}
	#settingscontent .settingsdownloaddata table td {
		padding: 3px 4px 3px 4px;
	}
	.instruction {
		max-width: 100vw;
	}
	#usersdiv table td {
		padding: 0px 0px 0px 0px;
		font-size: 14px;
	}
	.settingsrolename {
		font-size: 14px;
	}
	#accountsdiv table td {
		padding: 0px 0px 0px 0px;
		font-size: 14px;
	}
	#submitnewaccount {
		margin-bottom: 20px;
	}
	multi-select {
		font-size: 15px;
		margin-top: 3px;
		margin-bottom: 3px;
	}
	.msdevtype {
		width: 300px;
		--multi-select-min-width: 200px;
	}
	.msdevlist {
		width: 300px;
		--multi-select-min-width: 200px;
	}
}

