/* global main styles */
@import url(main_styles.css);


/*Main background color&font */
body {
    background-color: var(--bg-color);
    font-family: 'Inter', sans-serif;
    overflow: clip;
    height: 100vh; /* Ensure full height */
    margin: 0; /* Remove default margin */
}

/* Center content in .main-container */
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/*LOGO*/
.brand {
    width: 78px; 
    height: auto; 
    display: block;
    margin: 0 auto; 
    position: absolute;
    top: 60px; 
    left: 50%; 
    transform: translateX(-50%); 
}


.register--label {
    top: 200px;
    font-size: 25px;
    font-weight: bolder;
    color: var(--font-color-dark);
    left: 22px;
    position: relative;
}

.register--form-box{
    width: 380px; 
    height: 480px; 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    background: var(--bg-color-container);
    padding: 20px; 
    box-shadow: var(--box-shadow);
}

.register--input-group{
    top: 220px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.register--input-field{
    padding: 15px 0px;
    width: 333px;
    cursor: pointer;
    border: 0px;
    border-radius: 6px;
    color: var(--font-color-gray);
    outline: none;
    text-decoration: none;
    text-align: left;
    text-indent: 6%;
}

.next--button-box{
    width: 333px;
    background-color: var(--bg-color-btn);
    border-radius: 6px;
    outline: none;
    margin: 240px auto;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.toggle-btn{
    padding: 10px 30px;
    cursor: pointer;
    border: 0;
    outline: none;
    color: var(--font-color-light);
    background: transparent;
    position: relative;
}

.register--index{
    font-size: 10px;
    text-align: center;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 60px;
    width: 100%;
}

.register--index a {
    text-decoration: none;
    color: var(--font-color-dark);
    font-size: 13px;
}

/*Media Queries and Responsive design*/
@media only screen and (max-width: 600px) {
    .brand {
        width: 78px;
        height: auto;
        display: block;
        margin: 0 auto;
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
    }

    .register--label {
        font-size: 25px;
        font-weight: bolder;
        color: var(--font-color-dark);
        width: calc(100% - 2rem);
        margin-bottom: 0; /* Removed margin-bottom */
        top: 150px;
    }

    .register--form-box {
        width: 80%;
        max-width: 300px; 
        max-height: 95vh;
        height: auto;
        background: var(--bg-color-container);
        padding: 20px; 
        box-shadow: var(--box-shadow);
        display: flex; 
        align-items: center;
        flex-direction: column; 
        justify-content: space-between; 
    }

    .register--input-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .register--input-field {
        padding: 15px 30px;
        font-size: 16px;
        width: calc(100% - .1rem);
        cursor: pointer;
        margin-top: 0px; 
        border-radius: 6px;
        color: var(--font-color-gray);
        outline: none;
        text-decoration: none;
        text-align: left;
        margin-bottom: 20px;
    }

    .next--button-box {
        width: 95%;
        background-color: var(--bg-color-btn);
        border-radius: 6px;
        outline: none;
        text-decoration: none;
        border: none;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center; 
        margin: 240px auto;
    }

    .toggle-btn{
        padding: 10px 30px;
        cursor: pointer;
        border: 0;
        outline: none;
        color: var(--font-color-light);
        background: transparent;
        position: relative;
        font-size: 20px;
    }

    .register--index {
        font-size: 10px;
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 40px;
        bottom: 10px;
        font-size: 12px;
    }
}


