/* Form General Styles */
form {
	background-color: #1f2127;
	padding: 20px;
	border-radius: 4px;
}

.field {
	margin-bottom: 20px;
}

.label {
	font-size: 1.1rem;
	margin-bottom: 5px;
	display: inline-block;
}

.input {
	font-family: 'Roboto Flex', sans-serif;
	width: 100%;
	padding: 10px;
	font-size: 1rem;
	border: 1px solid #222;
	border-radius: 4px;
	transition: border-color 0.3s ease;
	background-color: #373b44;
	color: #EEE;
}

.input:focus {
	border-color: #4f5766;
	outline: none;
}

.button {
	background-color: #373b44;
	color: #fff;
	padding: 10px 20px;
	font-size: 1rem;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	text-decoration: none;
}

.button:hover {
	background-color: #4f5766;
	color: #fff;
}

.button.button-full-width {
	display: inline-block;
	width: 100%;
	text-align: center;
}

.button.button-primary {
	background-color: #3b5998;
}

.button.button-primary:hover,
.button.button-primary:focus {
	background-color: #4a69bd;
}

.button.button-danger {
	background-color: #d9534f;
}

.button.button-danger:hover,
.button.button-danger:focus {
	background-color: #c9302c;
}

textarea {
	min-height: 40vh;
	resize: none;
}

textarea.mini-textarea {
	min-height: 10vh;
	max-height: 400px;
}

textarea.edit-textarea {
	min-height: 300px;
	max-height: 800px;
}

/* Small Info Text */
small {
	display: block;
	margin-top: 5px;
	font-size: 0.85rem;
	color: #666;
}

/* Divider (HR) */
hr {
	border: 0;
	height: 1px;
	background-color: #eee;
	margin: 30px 0;
}

/* Hide the default checkbox */
.mod-tools input[type="checkbox"] {
	display: none;
}

/* Custom checkbox container */
.mod-tools label {
	display: flex;
	align-items: center;
	cursor: pointer;
	font-size: 1rem;
	color: #d1d1d1;
	margin-right: 15px;
}

/* Custom checkbox style */
.mod-tools label::before {
	content: '';
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 10px;
	background-color: #2c2c2c;
	border-radius: 4px;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* When checkbox is checked, change the style */
.mod-tools input[type="checkbox"]:checked + label::before {
	background-color: #373b44;
	content: '✔';
	color: white;
	font-size: 14px;
	text-align: center;
	line-height: 20px; /* Align the checkmark */
}

/* Hover effect for checkbox */
.mod-tools label:hover::before {
	border-color: #222;
}


/* Responsive Design */
@media (max-width: 768px) {
	.profile-section {
		padding: 15px;
	}

	.label {
		font-size: 1rem;
	}

	.input {
		padding: 8px;
		font-size: 0.95rem;
	}

	.button {
		width: 100%; /* Full width for buttons on smaller screens */
		padding: 12px;
		text-align: center; /* For when its not actually a button */
	}
}
