/**
 * @copyright 2025 USTP
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
 *
 * @author: Fabian Gabler <fabian.gabler@ustp.at>
 */

.fs-btn-group {
	border-radius: .2rem;
	overflow: hidden;
}

.fs-btn-group button {
	outline: none;
	padding: var(--p-300) var(--p-500);
}

.fs-table tbody {
	border-radius: .5rem;
}

.fs-table tbody td {
	background: white;
}

.fs-table tbody tr:hover>td {
	background: var(--color-primary-light);
}

.fs-table tbody tr:first-child td:first-child {
	border-radius: .5rem 0 0 0;
}

.fs-table tbody tr:first-child td:last-child {
	border-radius: 0 .5rem 0 0;
}

.fs-table tbody tr:last-child td:last-child {
	border-radius: 0 0 .5rem 0;
}

.fs-table tbody tr:last-child td:first-child {
	border-radius: 0 0 0 .5rem;
}

.fs-table thead tr td {
	padding-bottom: .5rem;
}

.fs-table thead tr td label {
	padding-left: .5rem;
}

.fs-input {
	width: 100%;
	display: block;
	height: 32px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
	box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
	box-sizing: border-box;
	outline: 3px solid transparent;
}

.fs-input:focus {
	transition: .3s all !important;

	border-color: var(--color-primary-light);
	outline: 1px solid var(--color-primary-light) !important;
}

.fs-input:disabled {
	color: gray;
	background: lightgray;
}

.fs-table tbody tr:nth-child(even) {
	background: #CCC !important
}

.fs-table tbody tr:nth-child(odd) {
	background: #fff !important
}

.fs-button-green {
	background: rgba(79, 180, 64, 1);
	transition: .4s all;
	border: 1px solid rgba(79, 180, 64, 1);
	border-bottom: 2px solid green;
}

.fs-button-green:hover {
	background: rgba(79, 180, 64, 0.8);
}

.fs-button-green:active {
	background: rgba(79, 180, 64, 1);
	transition: none !important;
}

.fs-button-red {
	background: rgba(180, 64, 64, 1);
	transition: .4s all;
	border: 1px solid rgba(180, 64, 64, 1);
	border-bottom: 2px solid darkred;
}

.fs-button-red:hover {
	background: rgba(180, 64, 64, 0.8);
}

.fs-button-red:active {
	background: rgba(180, 64, 64, 1);
	transition: none !important;
}

.fs-button-standard {
	background: rgba(0, 80, 150, 1);
	transition: .4s all;
	border: 1px solid rgba(0, 80, 150, 1);
	border-bottom: 2px solid black;
}

.fs-button-standard:hover {
	background: rgba(0, 80, 150, 0.8);
}

.fs-button-standard:active {
	background: rgba(0, 80, 150, 1);
	transition: none !important;
}

.fs-button-disabled {
	background: lightgray;
	border: 1px solid lightgray;
	border-bottom: 2px solid gray;
}

.fs-button-disabled:hover {
	background: lightgray;
}

.fs-button-disabled:hover {
	background: lightgray;
}