body{
    background-color: #f4f4f9;
    overflow: hidden;
    min-height: 100vh;
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.75);
    background-blend-mode: overlay;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: #333;
}

.center-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding:10px;
    min-height: 800px; 
}


.form-container {
    width: 85%;          
    max-width: 500px;  
    padding: 25px;        
    background-color: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    border-radius: 8px;
    /* Adding overflow:auto to handle smaller screens and avoid scrolling issues */
    overflow: auto; 
    position: fixed;       
}

.register h3, .login h3 {
    text-align: center;
    color: #333;
    font-size: 22px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.box {
    padding: 12px;
    margin-bottom: 22px;
    border: none;
    border-radius: 6px;
    background: #eef1f7;
    box-shadow: inset 3px 3px 4px rgba(255,255,255,0.8), 
                inset -3px -3px 4px rgba(0, 0, 0, 0.05);
    font-size: 15px;
    text-align: center;
}



.name-fields {
    display: flex;
    /*justify-content: space-between;*/
}

.name {
    flex: 1;
    margin-right: 15px;
}

.name:last-child {
    margin-right: 0;
}

.btn {
    background-color: rgb(102, 143, 163);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 16px;
}

.link a {
    color: rgb(102, 143, 163);
    text-decoration: none;
    font-size: 14px;
    text-decoration: bold;
}

.align-center {
    text-align: center;
}
