/* Shared styles for both signIn.html and signUp.html */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: gray;
    color: gray;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    display: flex;
    width: 80%;
    max-width: 1200px;
    background-color: #1a231c;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.left-side {
    flex: 1;
    padding: 40px;
    background-color: #1a231c;
}

.right-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
}

.right-side img {
    width: 80%;
    max-width: 300px;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 0;
}

p {
    color: #a0a0a0;
}

form {
    display: flex;
    flex-direction: column;
}

input[type="email"],
input[type="text"],
input[type="password"] {
    margin: 10px 0;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    width: 100%;
    box-sizing: border-box;
}

button {
    margin-top: 20px;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: #66c18e;
    color: white;
    font-size: 1em;
    cursor: pointer;
    width: 100%;
}

.footer {
    margin-top: 20px;
}

.footer a {
    color: #66c18e;
    text-decoration: none;
}

.error-message {
    color: #ff4444;
    margin-top: 10px;
    text-align: center;
    display: none;
}

/* Styles specific to signIn.html */
body.sign-in-page input[type="email"],
body.sign-in-page input[type="password"],
body.sign-in-page input[type="text"] {
    width: 100%;
    box-sizing: border-box;
}

body.sign-in-page .password-container {
    position: relative;
}

body.sign-in-page .password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    font-size: 16px;
    user-select: none;
}

body.sign-in-page .remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

body.sign-in-page .forgot-password {
    color: #ffffff;
}

/* Styles specific to signUp.html */
body.sign-up-page input[type="checkbox"] {
    margin-right: 10px;
}

body.sign-up-page .tab {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

body.sign-up-page .tab div {
    cursor: pointer;
    padding: 10px 20px;
    border-bottom: 2px solid transparent;
}

body.sign-up-page .tab div.active {
    border-bottom: 2px solid #66c18e;
    color: #66c18e;
}

body.sign-up-page .subjects-container {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.sign-up-page .subject-input {
    margin: 0;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    flex: 1;
}

body.sign-up-page button {
    margin-top: 0;
    padding: 10px;
    flex: 1;
}

body.sign-up-page .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.sign-up-page .qualification-field {
    display: none;
}

body.sign-up-page .name-fields {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

body.sign-up-page .name-fields input[type="text"] {
    flex: 1;
}

body.sign-up-page .success-message {
    color: #66c18e;
    margin-top: 10px;
    text-align: center;
    display: none;
}