@font-face {
    font-family: 'SourceSans3-Regular';
    src: url('../fonts/SourceSans3-Regular.ttf') format('truetype');  /* Added format */
    font-weight: 400;
}

@font-face {
    font-family: 'SourceSans3-ExtraBold' ;
    src: url(../fonts\SourceSans3-ExtraBold.ttf);
    font-weight: bolder;
}


* {
    margin: 0;
    padding: 0;
}



.page-box {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'SourceSans3-Regular', sans-serif; 
    font-weight: 400;
    
    
}

.outer-box {
    position: relative;  /* Ensure the pseudo-element is positioned relative to this container */
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;  /* Ensure the pseudo-element doesn't overflow the box */
}

.outer-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;  /* White background */
    z-index: 1;  /* Ensure the background is behind the content */
}

.outer-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/Gradient_450x450px.svg');
    background-size: cover;  /* Cover the box while maintaining the aspect ratio */
    opacity: 0.65;  /* Adjust the opacity as needed */
    z-index: 2;  /* Ensure the background image is above the white background but below the content */
}

.outer-box > * {
    position: relative;  /* Ensure the content is above the background layers */
    z-index: 3;
}
.inner-box {
    width: 35rem;
    border-radius: 20px;
    height: 35rem;
    background: rgba(255, 255, 255, 0.393);
    display: flex;
    justify-content: center;
    align-items: center;

}

.form-box {
    width: 30rem;
    height: 30rem;
}

.logo {
    height: 5rem;
    margin: 1.8rem 0;
    width: 13rem; 
    background-image: url('../images/Logo_Tabify_wit.png');
    background-size:contain;
    background-repeat: no-repeat;
}


/* Form */

.form-header {  
    font-family: 'SourceSans3-ExtraBold', sans-serif; 
    font-weight: bolder;
    color: white;
    letter-spacing: 1px;
    padding: 1rem 0;
}

.form-subheader {  
    font-family: 'SourceSans3-ExtraBold', sans-serif; 
    font-weight: bolder;
    color: white;
    letter-spacing: 1px;
    padding: 1rem 0;
}


.bottom-text {
    color: white;
    margin: 1rem;
}


.form-box {
    margin-top: 1.5rem;
    font-family: "SourceSans3-Regular";
    font-weight: 300;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-input-box {
    position: relative;
    padding: 0.5rem 0rem;
    margin-bottom: 1rem;
}

.form-input-field {
    width: 14rem;
    padding: 0.5rem 0.8rem;
    border-radius: 15px;
    border: none;
    position: relative;
    z-index: 1;
    font-family: "SourceSans3-Regular";
    font-weight: 300;
    letter-spacing: 1.2px;
    margin-bottom: 0.5rem ;
}

.form-input-field::placeholder {
    font-family: "SourceSans3-Regular";
    font-weight: 300;
    letter-spacing: 1.3px;
}

.form-input-field:focus-visible {
    outline: none;
}

.input-data .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    display: block;
}

.input-data .underline:before {
    content: "";
    position: absolute;
    height: 2px;
    width: 100%;
    background: #4029eb86;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.input-data .underline:after {
    content: "";
    position: absolute;
    height: 2px;
    width: 100%;
    background: #e85d0d85;
    transition: opacity 0.3s ease;
}

.input-data input:focus ~ .underline:before,
.input-data input:valid ~ .underline:before {
    transform: scaleX(1);
}

.input-data input:focus ~ .underline:after,
.input-data input:valid ~ .underline:after {
    opacity: 0;
}

.form-check {
    display: flex;
    align-items: center;
    padding: 1rem 1rem;
    align-items: center;
    font-family: "SourceSans3-Regular";
    font-weight: 300;
}

.form-check-input {
    margin-right: 0.5rem;
    width: 20px;
    height: 20px;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.form-check-input:checked {
    background-color: #e85d0dc2;
    border-color: #e85d0dc2;
}

.form-check-input:checked::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-check-label {
    font-family: "SourceSans3-Regular";
    font-weight: 300;
    color: #3c3c3bd3;
}

/* Buttons */

.login-button-box {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
}

.login-button {
    border: none;
    cursor: pointer;
    background: #e85d0dc2;
    color: white;
    font-family: 'SourceSans3-ExtraBold', sans-serif; 
    font-weight: bolder;
    font-size: large;
    letter-spacing: 1.5px;
    padding: 0.5rem 1rem;
    margin-top: 2rem;
    border-radius: 15px;
}

.login-button:hover {
    background: #4029eb86;
    transition: 0.5s ease-out;
}
