@font-face {
   font-family: gt-regular;
   src: url(../font/GT-Walsheim-Pro-Regular.woff);
}
@font-face{
   font-family: gt-bold;
   src: url(../font/GT-Walsheim-Pro-Bold.woff);
}
@font-face{
   font-family: gt-black;
   src: url(../font/GT-Walsheim-Pro-Black.woff);
}

@media screen and (max-width: 1280px) and (max-height: 1024px) {
    #textFieldContainer{
        margin-top: 10px !important;
    }

    .logo{
        height: 80px !important;
    }

    .log{
        font-size: 14px;
        	color: #006838;
    }

    .login-text{
        margin: 0.5em 0;
    }

    .textField{
        min-height: 28px !important;
    }

    .submit,
    .gotologin{
        height: 1.75em !important;
    }
}

body {
   font-family: 'gt-regular', sans-serif;
   margin: 0;
   padding: 0;
   display: flex;
   justify-content: center;
   align-items: center;
   height: 100vh;
   background-color: #f4f4f4;
}

.form-container {
   display: table;
   margin: 5% auto;
   position: relative;
   width: 25%;
   background: #FFF;
   border-radius: 15px;
   padding: 0% 2% 5px 2%;
   box-shadow: 0.1px 3.1px 9px #a9a9a9;
}

h2 {
   color: #5e057e;
   text-align: center;
   margin-bottom: 20px;
}

label {
   display: block;
   margin-bottom: 8px;
   color: #5e057e;
}

.register-form-container label {
   display: none;
}

.register-form-container input::placeholder{
   color: #021e39;
}

input {
   background: #F1F3F5;
   border-radius: 15px;
   /* width: 20vw; */
   /* min-width: 360px; */
   padding: 0 20px;
}

#textFieldContainer{
   border: none;
   vertical-align: bottom;
   background-color: #FFF;
   margin-top: 30px;
   display: flex;
   flex-direction: column;
   gap: 9px;
}

.button-centered{
	text-align: center;
   font-family : 'gt-regular', sans-serif;
   margin-top: 20px;
}

.logo{
   margin: auto;    
   width: 216px;
   height: 100px;
   background: url(../img/mangusta-risk-logo-full.png); 
   /* background: url(img/main/logo.png); */
   background-repeat: no-repeat;
   background-color: #FFFFFF;
   background-size: contain;
}


.login-text {
	font-family: 'gt-regular', sans-serif;
	font-size: 0.9em;
   color: grey;
   white-space: nowrap;
}

.register-link {
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
}

a {
   text-decoration: none;
   color: dodgerblue;
}

.log{
	font: 20px gt-bold, sans-serif;
	text-align: center;
	line-height:50%;
	font-family: 'gt-bold', sans-serif;
   color:#006838;
}

input:focus{
	outline: none;
}

.submit,
.gotologin{
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
    background-image: linear-gradient(to right, #006838, #3BCE30);
	border-radius: 25px;
	padding: 0 2em;
	color: white;
	font-size: 1em;
	font-family: 'gt-bold', sans-serif;
	border: none;
	vertical-align: bottom;
	height: 2em;

}
.submit:hover,
.gotologin:hover{
	cursor:pointer;
	background: #006838;
color: white;
	animation: change-bg .3s;
	-o-animation: change-bg .3s;
	-ms-animation: change-bg .3s;
	-webkit-animation: change-bg .3s;
	-moz-animation: change-bg .3s;
}
#registerBtn.submit:disabled {
    background-image: none;
    background-color: #ddd;
    color: #aaa;
    cursor: not-allowed;
    pointer-events: none;
}
.submit:focus,
.gotologin:focus{
	outline: 0;
}

.upper-button{
    text-align: right;
    padding-top: 1em;
}

button {
   background-color: #5e057e;
   color: #fff;
   padding: 10px 20px;
   border: none;
   border-radius: 4px;
   cursor: pointer;
   font-weight: bold;
   transition: background-color 0.3s;
}

button:hover {
   background-color: #299d00;
}

.form-footer {
   text-align: center;
   margin-top: 20px;
   color: #888;
}

.success-message {
   background-color: #28A745;
   color: #fff;
   padding: 1px 0;
   border-radius: 3px;
   text-align: center;
   margin-bottom: 10px;
   font-family: 'gt-regular';
   /* position: absolute;
   width: 90%;
   bottom: 0; */
}

.pending-message {
   background-color: #FFBC00;
   color: #fff;
   padding: 1px 0;
   border-radius: 3px;
   text-align: center;
   margin-bottom: 10px;
   font-family: 'gt-regular';
}

.admin-message {
   background-color: #28A745;
   color: #fff;
   padding: 1px 0;
   border-radius: 3px;
   text-align: center;
   margin-bottom: 10px;
   font-family: 'gt-regular';
}

.registered-message {
   background-color: #D4EDDA;
   color: #444141;
   padding: 1px 0;
   border-radius: 3px;
   text-align: center;
   margin-bottom: 10px;
   font-family: 'gt-regular';
}

.opened-message {
   background-color: #5e057e;
   color: #fff;
   padding: 1px 0;
   border-radius: 3px;
   text-align: center;
   margin-bottom: 10px;
   font-family: 'gt-regular';
}

.textField-custom {
   width: 50% !important;
}

.resgister-name-container {
   display: flex;
   width: 100%;
   gap: 3px;
}

#registerBtn[disabled] {
   background-color: #ddd;
   /* Colore di sfondo chiaro per il pulsante disabilitato */
   color: #aaa;
   /* Colore del testo chiaro per il pulsante disabilitato */
   cursor: not-allowed;
   /* Cambia il cursore in una "manina" bloccata */
   pointer-events: none;
   /* Disabilita l'interazione con il pulsante */
}

/* Pulsante abilitato */
#registerBtn:not([disabled]) {
   background-color: #4CAF50;
   /* Colore di sfondo verde per il pulsante abilitato */
   color: white;
   /* Colore del testo bianco per il pulsante abilitato */
   cursor: pointer;
   /* Cambia il cursore in una "manina" normale */
}

.register-container {
   display: flex;
   justify-content: space-between;
   align-items: center;
   width: 100%;
   height: 100vh;
}

.textField-separator {
   margin-top: 12px;
}

.register-left {
   display: flex;
   	background-color: #006838;
   	width: 50%;
   	height: 96vh;
   	gap: 2rem;
   	align-items: center;
   	flex-direction: column;
   	    flex-direction: column;
   		    justify-content: space-between; /* spinge il contenuto in alto e il footer in basso */
   			    padding: 2rem 1.5rem;
}

.register-image {
   width: 60%;
   height: 90%;
   background-image: url('../img/login/logoNexusAlternIntero.png'); 
   background-repeat: no-repeat;
   background-position: center;
   background-size: contain;
}

.textField{
	height: 100%;
	font-family: 'gt-regular', sans-serif;
	border: none;
	opacity: 0.7;
    min-height: 32px;
}

.textField:active{
	border:none;
}

.textField:focus{
	opacity: 1;
	transition: .4s ease-in;
	background: #2460ab29;
}

.invalid-msg{
   font-size: .9rem;
   margin-left: 5px;
   margin-top: -8px;
}

.iti {
   min-width: 99%;
   margin-left: 5px;
}

.iti__selected-dial-code {
   font-size: .9rem;
   color: darkslategrey;
}

.iti--separate-dial-code .iti__selected-flag {
   background-color: transparent !important;
   border-right: 1px solid lightgrey;
}

#phoneNumber {
   width: 100%;
}

/* For Chrome, Safari, Edge, and Opera */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* For Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
.green-text{
	color:#006838
}


.left-footer {
    font-family: 'gt-regular', sans-serif;
    font-size: 11px;
    color: white;
    text-align: center;
    line-height: 1.5;
    width: 100%;
}

.color-policy {
	color: white;
}