/*---------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------ FORMS -----------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------*/
.form .g-box-shadow__dark-lightest-v3{
    max-width: 65%; 
    border-radius: 1rem;
    padding-bottom: 2rem;
}

.form.g-fullheight--xs {
	height: 100vh;
}

.form .s-btn--md {
    font-size: 1rem;
    padding: .4rem 1.8rem;
    font-weight: 600;
    letter-spacing: .05rem;
}

.form .g-padding-y-50--xs {
    padding-bottom: 1.125rem;
}

.form .g-radius--50 {
    border-radius: .5rem !important;
}

.form p{
	font-weight: bold;
	padding: .3rem .1rem;
}

.form .g-font-size-60--md{
    font-size: 3rem !important;
    padding-top: 3.2rem;
}
.form .g-margin-b-50--md{
    margin-bottom: 1rem;
}
.form .g-font-size-22--sm{
	font-weight: 500;
	font-size: 1.3rem !important;
}

.form .s-btn{
    margin-top: 1rem;
}

.form .s-btn--dark-brd{
	color: #FFFFFF;
	border-color: #FFFFFF;
    background: #9ACD32;
}
.form .s-btn--dark-brd:hover{
	color: #9ACD32;
	border-color: #9ACD32;
	background: transparent;
}

/* LOGO */
.form .g-box-shadow__dark-lightest-v3 .g-width-100--xs{
    padding-bottom: 2rem;
}
/* INPUT FIELD */
.form .s-form-v4__input{
    border: solid #8C8C8C .1rem;
    border-radius: .2rem;
    letter-spacing: normal;
    padding-left: .7rem;
    height: 2.7rem;
    text-transform: none;
}
.form .s-form-v4__input::placeholder{
    font-size: 0.8125rem;
}

.togglePassword{
    position: absolute;
    top: 50%; 
    right: 20px; 
    transform: translateY(-50%); 
    border: none; 
    background: none; 
    cursor: pointer;
}

.form a{
    color: #515151;
    font-size: .7rem;
    letter-spacing: normal;
}
.form a:hover{
    color: #9ACD32;
}


/**********************************
FLOATING LABEL SECTION
**********************************/
.floating-label-container {
    position: relative;
    margin-bottom: .5rem; /* Add space for the error message */
}

.floating-label-container label{
    font-weight: 500;
}

.floating-label-container .text-danger.field-errors {
    position: absolute;
    bottom: -1.3rem; /* Adjust to position below the input */
    left: 1rem; /* Align with the input padding */
    font-size: 0.7rem;
    color: #d9534f; /* Red color */
}

.floating-label-container input {
    width: 100%;
    padding: 0.75rem 0.5rem; /* Adjust padding */
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    font-size: .8rem;
}

.floating-label-container label {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 1.7rem;
    transform: translateY(-50%); /* Initial center alignment */
    transition: all 0.2s ease-in-out;
    pointer-events: none;
}

.floating-label-container input:focus + label,
.floating-label-container input:not(:placeholder-shown) + label {
    top: 0; /* Moves label to the top */
    transform: translateY(0); /* Adjust to 0% */
    font-size: 0.75rem; /* Optionally reduce font size */
    color: #007bff; /* Optional color change on focus */
}

.floating-label-container input:focus + label,
.floating-label-container input:not(:placeholder-shown) + label {
    top: -0.6rem; /* Float to top */
    left: 1.7rem; /* Align with the left padding */
    font-size: 0.75rem;
    color: #555;
    background-color: #fff; /* Optional for visual clarity */
    padding: 0 0.25rem;
}


/* Extra small devices (phones, less than 576px) */
@media screen and (max-width: 364.98px) {
    /* Styles for extra small devices */
    .form .g-box-shadow__dark-lightest-v3{
        max-width: 100%; 
    }
    .form .g-padding-x-40--xs{
        padding-left: .5rem;
        padding-right: .5rem;
    }
    .form .g-box-shadow__dark-lightest-v3 .g-width-100--xs {
		padding-bottom: 1.5rem;
	}
    .form .g-width-100--xs {
		width: 4.25rem;
	}
    .form .s-form-v4__input{
		padding-left: .8rem;
        height: 2.5rem;
	}
    .form .g-font-size-28--xs {
        font-size: 2.2rem !important;
    }
    .form .g-margin-b-30--xs {
        margin-bottom: 1.2rem;
    }
    .form .g-margin-b-30--xs.g-margin-b-50--md{
        margin-bottom: .8rem;
    }
    .form p{
        font-size: .8rem;
    }
    
    /* BUTTON SECTION */
    .form .s-btn--md{
        font-size: .9rem;
    }
}


/* Extra small devices (phones, less than 576px) */
@media screen and (min-width: 365px) and (max-width: 575.98px) {
    /* Styles for extra small devices */
    .g-padding-y-125--sm.products {
        padding-top: 2.5rem;
    }
    .form .g-box-shadow__dark-lightest-v3 .g-width-100--xs {
		padding-bottom: 2rem;
	}
    .form .g-box-shadow__dark-lightest-v3{
        max-width: 100%; 
    }
    .form .g-padding-x-40--xs{
        padding-left: .5rem;
        padding-right: .5rem;
    }
    .form .g-width-100--xs {
		width: 5.25rem;
	}
    .form .g-margin-b-50--md{
        margin-bottom: .2rem;
    }
    .products .g-font-size-14--xs {
        font-size: 0.5rem !important;
    }
    .products .g-font-size-32--xs {
        font-size: 1.1rem !important;
    }
    .products.main-categories .g-margin-b-100--xs {
        margin-bottom: 1.5rem;
    }
    .products.main-categories h3 {
        font-weight: 600;
        font-size: .8rem !important;
        padding-bottom: .5rem;
    }
    .form .g-font-size-28--xs {
        font-size: 3rem !important;
    }
	.form .s-form-v4__input{
		height: 3rem;
	}
    .form p{
        font-size: .8rem;
    }
    .products.main-categories .description {
        font-size: 0.6rem;
        line-height: 1.4;
    }
    .products.main-categories .article .s-btn--md {
        font-size: 0.7rem;
        padding: .4rem 2.5rem;
    }
    .products.main-categories .article .g-margin-b-20--xs {
        margin-top: 1rem;
        margin-bottom: .5rem;
    }
    
    /* BUTTON */
    .form .s-btn--md{
        font-size: 1rem;
    }
}

/* Small devices (phones, 576px and up) */
@media screen and (min-width: 576px) and (max-width: 767.98px) {
    /* Styles for small devices */
    .form .g-box-shadow__dark-lightest-v3{
        max-width: 90%; 
    }
}

/* Medium devices (tablets, 768px and up) */
@media screen and (min-width: 768px) and (max-width: 991.98px) {
    /* Styles for medium devices */
    .form .g-box-shadow__dark-lightest-v3{
        max-width: 90%; 
    }
    .form .g-font-size-50--md {
        font-size: 5rem !important;
    }
    .form .g-font-size-20--md {
        font-size: 1.7rem !important;
    }
    .form .s-btn--md{
        font-size: 1.2rem;
        padding: .3rem 1.5rem;
    }
    .form .s-form-v4__input{
        font-size: 1.2rem;
    }
    .form .s-form-v4__icon{
        font-size: 1.2rem;
    }
}

/* Media query for screens below 768px */
@media (max-width: 768px) {
    .floating-label-container {
        margin-bottom: 1rem; /* Increase bottom margin to create space for errors */
    }
    .floating-label-container .text-danger.field-errors {
        bottom: -1.2rem; /* Adjust positioning of the error message */
    }
    .sign-up .g-text-center--xs .g-margin-b-0--md {
        margin-top: 1.5rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media screen and (min-width: 992px) and (max-width: 1199.98px) {
    /* Styles for large devices */
    .form .g-box-shadow__dark-lightest-v3{
        max-width: 80%; 
    }
    .form .g-font-size-50--md {
        font-size: 5rem !important;
    }
    .form .g-font-size-20--md {
        font-size: 1.7rem !important;
    }
    .form .s-form-v4__input{
        font-size: 1.2rem;
    }
    .form .s-form-v4__icon{
        font-size: 1.4rem;
    }
    
    /* BUTTON */
    
}

/* Extra large devices (large desktops, 1200px and up) */
@media screen and (min-width: 1200px) and (max-width: 1399.98px) {
    /* Styles for extra large devices */
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media screen and (min-width: 1400px) {
    /* Styles for extra extra large devices */
}
/*----------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------- END FORMS --------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------*/