* {
    box-sizing: border-box;
    margin : 0;
}

header {
    background-color: #fff;
    height: 100px;
    width: 100%;
    box-shadow:  0px 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 29px 48px;
}

#faqButton {
    background-color: #fff;
    border:1px solid #1370AC;
    border-radius: 10px;
    padding: 12px 24px;
    color: #1370AC;
    font-size: 20px;
    cursor: pointer;
}

#logoContainer h2 {
    font-size: 32px;
}

.loginForm{
    background-color: #F5F5F5;
    padding: 20px;
    border-radius: 32px;
    margin: 0 auto;
    width: 481px;
    height: 504px;
    padding: 61px 91px;
}

main {
    height: 100vh;
    display: flex;
    flex-direction: row;
}

.mainContent {
    height: 100vh;
    width: 50%;
    padding: 142px 120px 276px 120px;
    display: flex;
    flex-direction: column;
}

#formContent {
    width: 298px;
    height: 382px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
}

#fields {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

form h1 {
    text-align: center;
    font-size: 24px;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
}
#labels {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.label {
    width: 100%;
    height: 80px;
}

.label label {
    text-align: center;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: normal;
    margin-bottom: 5px;
    margin-left: 5px;
}

.email input, .password input {
    width: 100%;
    height: 50px;
    border: 0px;
    border-radius: 10px;
    padding: 0px 15px;
    margin-top: 10px;
    font-size: 16px;
}

.email input::placeholder, .password input::placeholder {
    font-size: 16px;
    color: #A9A9A9;
    font-weight: regular;
}

#actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 194px;
    height: 93px;
    gap: 21px;
    margin: 0 auto;
}

#actions button {
    background-color: #1370AC;
    color: #fff;
    border: none;
    border-radius: 10px;
    width: 100%;
    height: 50px;
    padding: 12px 24px;
    font-size: 20px;
    cursor: pointer;
}

#actions button:hover {
    background-color: #0f5e8c;
}

#actions a {
    text-decoration: none;
    font-family: 'inter', sans-serif;
    color: #1370AC;
    font-size: 15px;
}

#actions a:hover {
    text-decoration: underline;
}

.left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loginImage {
    width: 672px;
    height: auto;
}

/* Responsive styles for tablets (iPad) */
@media (max-width: 1200px) {
    .mainContent {
        padding: 100px 60px 200px 60px;
    }
    
    .loginImage {
        width: 500px;
    }
}

@media (max-width: 1024px) {
    header {
        padding: 20px 30px;
        height: 80px;
    }
    
    #logoContainer h2 {
        font-size: 26px;
    }
    
    main {
        flex-direction: column;
    }
    
    .mainContent {
        width: 100%;
        height: auto;
        padding: 60px 40px;
    }
    
    .left {
        display: none;
    }
    
    .loginForm {
        width: 100%;
        max-width: 450px;
        height: auto;
        padding: 40px 50px;
    }
    
    #formContent {
        width: 100%;
        height: auto;
    }
    
    #faqButton {
        padding: 10px 18px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        height: 70px;
    }
    
    #logoContainer h2 {
        font-size: 22px;
    }
    
    .mainContent {
        padding: 40px 20px;
    }
    
    .loginForm {
        padding: 30px 25px;
        border-radius: 20px;
    }
    
    form h1 {
        font-size: 20px;
    }
    
    #formContent {
        gap: 30px;
    }
    
    #fields {
        gap: 30px;
    }
    
    #labels {
        gap: 15px;
    }
    
    .label {
        height: auto;
    }
    
    .label label {
        font-size: 14px;
    }
    
    .email input, .password input {
        height: 45px;
        font-size: 14px;
    }
    
    #actions {
        width: 100%;
    }
    
    #actions button {
        height: 45px;
        font-size: 16px;
    }
    
    #faqButton {
        padding: 8px 14px;
        font-size: 14px;
    }
}