/* google fonts */
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url(../include/fonts/KFOlCnqEu92Fr1MmSU5fChc4EsA.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url(../include/fonts/KFOlCnqEu92Fr1MmSU5fBBc4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url(../include/fonts/KFOmCnqEu92Fr1Mu7GxKOzY.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url(../include/fonts/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* common css */
body {
  background-color: #f7f7f7;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}
.modal-content, .form-control, .btn{
  border-radius: 3px;
}
label{
  font-weight: 400;
  font-size: 16px;
}
/*
.form-control{
  height: 42px;
  font-size: 17px;
}
.form-control:focus {
  z-index: 2;
}
*/
.alert{
    border-radius: 3px;
}
/* login form css */
#login_form {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
#login_form .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}

#login_form input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
#login_form input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
#display_error{
	display: none;
}
.button-edit{
	background-color: rgba(0,0,0,0);
    color: #000000;
    border: 0px;
	/*font-size: 16px; /* Set a font size */
	cursor: pointer; /* Mouse pointer on hover */
}
.button-edit:hover {
    color: #0d6efd;
}
.button-delete:hover {
    color: #dc3545; /* rot */
}
.button-delete {
  color: #000000; /* schwarz */
  border: 0px;
  background-color: rgba(0,0,0,0);
}
/* Fullscreen Button auf Statistik Seite. Die Klasse setzt die Bootstrap Card auf Fullscreen und wird von JS ausgelöst */
.fullscreen-card {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 1050;   /* über Navbar, Dropdowns etc. */
	margin: 0;
	border-radius: 0;
	overflow: auto;
	background: #fff;
}
/* normale Ansicht */
.chart-container {
	position: relative;
	width: 100%;
	min-height: 400px;
}
.square-chart-klein {
	max-width: 500px;
}
/* Fullscreen */
.fullscreen-card .chart-container {
	flex: 1 1 auto;
	min-height: 0;
}
/* Vollbild verlassen Button, liegt oben recht über allem drüber */
#fullscreen-close {
	position: fixed;
	top: 12px;
	right: 12px;
	z-index: 2000;
	border: none;
	border-radius: 50%;
	width: 42px;
	height: 42px;
	font-size: 20px;
	background: rgba(0,0,0,0.6);
	color: #fff;
	cursor: pointer;
}
#fullscreen-close:hover {
	background: rgba(0,0,0,0.8);
}
.tooltip-inner {
  white-space: pre-line;
}
.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  color: #6c757d; /* grau */
}
.transition-icon {
  transition: transform 0.2s ease;
}

.rotate {
  transform: rotate(180deg);
}

@keyframes barPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(1); }
  50%       { opacity: 1;    transform: scaleY(1.18); }
}
@keyframes hueShift {
  0%   { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.candlestick-loader {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 40px;
  animation: hueShift 4s linear infinite;
}

.candlestick-loader .bar {
  width: 6px;
  border-radius: 2px;
  animation: barPulse 1.2s ease-in-out infinite;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
input[type=number] {
  -moz-appearance: textfield;
}

.versteckt {
    visibility: hidden !important;
}

.progress-bar {
  transition: width 0.6s ease;
}

.archiv-zeile {
  cursor: pointer;
}
