div.header-container {
	background-image: url(../img/glass.jpg);
}

div.form-box {
	background-color: #0045D9;
}

div.form-box div.info {
  color: #ddd;
}

.error {
	color: red;
}

form * :not(a) { /*Adică toți copiii lui <form> cu excepția ancorelor.*/
	font-size: 2.25vh;
}

input[type="text"], select, textarea {
	width: 100%;
	padding: 1.5vh;
	border-width: 0;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}

input[type="text"].is-invalid, textarea.is-invalid {
  border-width: 1px;
  border-color: red;
  color: red;
}

textarea:focus, input:focus, select:focus {
    outline: none;
}

div.form-box input.button {
	background-color: #18181A;
	border: none;
	color: white;
}

div.mesaj-back {
	border-radius: 1.5vh;
	padding: 2vh;
	color: #333;
	text-align: center;
}

div.mesaj-back.succes {
	background-color: #ffa08b;
}

div.mesaj-back.eroare {
	background-color: red;
	color: white;
}

.invalid-feedback {
	color: var(--bs-primary);
}


.spinner { /*de aici: http://tobiasahlin.com/spinkit/*/
 position: fixed; /* fixat față de viewport */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  text-align: center;
  z-index: 9999; /* asigură-te că e deasupra */
  animation: sk-rotate 2.0s infinite linear;
}

.dot1, .dot2 {
  width: 60%;
  height: 60%;
  display: inline-block;
  position: absolute;
  top: 0;
  background-color: #FF7E61;
  border-radius: 100%;
  
  -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.dot2 {
  top: auto;
  bottom: 0;
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

@-webkit-keyframes sk-rotate { 100% { -webkit-transform: rotate(360deg) }}
@keyframes sk-rotate { 100% { transform: rotate(360deg); -webkit-transform: rotate(360deg) }}

@-webkit-keyframes sk-bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bounce {
  0%, 100% { 
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 50% { 
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}

@media (prefers-color-scheme: dark) {
	div.form-box input.button {
		background-color: white;
		color: black;
	}
}