:root {
	--bg-color: #fff;
	--text-color: #333;
	--border-color: #ddd;
	--btn-bg: #007bff;
	--btn-hover-bg: #0056b3;
	--modal-bg: #fff;
	--link-color: #0000e1;
}

.dark-mode {
	--bg-color: #1e1e1e;
	--text-color: #f5f5f5;
	--border-color: #444;
	--btn-bg: #0056b3;
	--btn-hover-bg: #003f7f;
	--modal-bg: #2a2a2a;
	--link-color: #9cd3e5;
}

body {
	background-color: var(--bg-color);
	color: var(--text-color);
	transition: background 0.3s, color 0.3s;
}
.contact-queries {
	color: var(--link-color);
}
#app {
	font-family: Arial, sans-serif;
	max-width: 700px;
	margin: 50px auto;
	text-align: center;
	padding: 30px;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	background-color: var(--bg-color);
}

h1 {
	margin-bottom: 20px;
	color: var(--text-color);
	display: inline-block;
}

.info-btn {
	margin-left: 10px;
	cursor: pointer;
	font-size: 13px;
	color: #cfcfcf;
	background: none;
	border: 1px solid;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: auto;
}

.info-btn:hover {
	color: #666666;
}

/* Popup styles */
.modal {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.4);
	padding-top: 60px;
}

.modal-content {
	font-family: Arial, sans-serif;
	background-color: var(--modal-bg);
	margin: 5% auto;
	padding: 20px;
	border-radius: 8px;
	width: 80%;
	max-width: 600px;
	color: var(--text-color);
}

.modal-content-method {
	font-family: Arial, sans-serif;
	background-color: var(--modal-bg);
	margin: 5% auto;
	padding: 20px;
	border-radius: 8px;
	width: 80%;
	max-width: 600px;
	color: var(--text-color);
}

.close {
	color: #aaa;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

.company-header {
	text-align: center;
	margin-bottom: 20px;
}

.company-logo {
	height: 200px;
	object-fit: cover;
}

.file-upload,
.interval-select,
.interpolation-method {
	margin: 15px 0;
}

.checkbox-option {
	display: flex;
	margin: 2px;
}

label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
	color: var(--text-color);
	text-align: left;
}

input[type='file'],
select {
	padding: 8px;
	font-size: 16px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	width: 100%;
	box-sizing: border-box;
	background-color: var(--bg-color);
	color: var(--text-color);
}

.btn {
	background-color: var(--btn-bg);
	color: white;
	border: none;
	padding: 10px 20px;
	font-size: 16px;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s;
}

.btn:hover {
	background-color: var(--btn-hover-bg);
}

.btn:active {
	background-color: #004085;
}

.dark-mode-toggle-container {
	position: absolute;
	bottom: 20px;
	right: 20px;
	display: flex;
	align-items: center;
}

.dark-mode-checkbox {
	display: none;
}

.slider {
	position: relative;
	width: 30px;
	height: 17px;
	background-color: #ccc;
	border-radius: 17px;
	cursor: pointer;
	transition: background-color 0.3s;
	margin-bottom: 0;
}

.slider::before {
	content: '';
	position: absolute;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background-color: white;
	top: 2px;
	left: 2px;
	transition: transform 0.3s;
}

.dark-mode-checkbox:checked + .slider {
	background-color: grey;
}

.dark-mode-checkbox:checked + .slider::before {
	transform: translateX(15px);
}

.light-label,
.dark-label {
	font-size: 12px;
	margin: 0 10px;
	color: var(--text-color);
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
}

.light-label {
	margin-right: 5px;
}

.dark-label {
	margin-left: 5px;
}

.spinner {
	border: 4px solid #f3f3f3;
	border-top: 4px solid var(--btn-bg);
	border-radius: 50%;
	width: 20px;
	height: 20px;
	animation: spin 1s linear infinite;
	margin: auto;
	display: none;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.web-link-header {
	color: var(--text-color);
	text-decoration: none;
}

.checkbox-container {
	display: flex;
	flex-direction: row;
	align-items: start;
	gap: 1px;
}
.file-upload-container {
	display: flex;
	gap: 50px;
	align-items: center;
}
.file-upload {
	display: flex;
	flex-direction: column;
}

.two-column-container {
	display: flex;
	justify-content: space-between;
	margin: 15px 0;
}

.half-column {
	display: block;
	width: 49%;
	display: flex;
	flex-direction: column;
}

#customFormatInput {
	padding: 8px;
	font-size: 16px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	width: 100%;
	box-sizing: border-box;
	background-color: var(--bg-color);
	color: var(--text-color);
	max-width: 80%;
}

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

#customFormatMessage {
    display: none;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}

.info-method-btn {
	margin-top: 10px;
	margin-left: 10px;
	cursor: pointer;
	font-size: 13px;
	color: #cfcfcf;
	background: none;
	border: 1px solid;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: auto;
}

.info-method-btn:hover {
	color: #666666;
}

