
* {
    box-sizing: border-box;
}

body, html {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

h1, h2, h4, p, button {
    text-align: center;
    margin: 1%;
}

.auth-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1%;
    background-color: var(--primary);
    color: #fff;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    font-size: 18px;
}

.auth-header-buttons {
    display: flex;
    align-items: center;
    margin-left: auto; 
    padding: 0%; 
}

.auth-header-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
    margin-right: 10px;
    padding: 0 0;
    white-space: nowrap; 
}

.auth-header-button:hover{
    color:  var(--hover);
}

.auth-container {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    padding: 0%;
    margin-top: 0%;
}

.auth-container h2 {
    text-align: center;
}

.auth-container input {
    display: block;
    width: 100%;
    padding: 2%;
    border: 1px solid #ddd;
    border-radius: 4px;
}

input.signinEmail, input.signinPassword, input.signupEmail, input.signupPassword, input.resetEmail  {
    width: 98%;
    margin: 1%; /* Adjust the space as needed */
}

.auth-container button {
    display: block;
    width: 100%;
    padding: 1%;
    margin: 1%;
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.auth-container button:hover {
    background-color: var(--hover);
}

.auth-message {
    margin-top: 10px 0;
    text-align: center;
    font-size: 0.9em;
    font-family: inherit; /* Ensure it uses the same font family */
}

.success {
    color: green;
}

.error {
    color: red; /* Text color inside the input field */ 
}

.error::placeholder {
    color: red; /* Placeholder text color */
}

button#showSignupButton, button#showSigninButton, button#showSigninButtonFromReset, button#forgotPasswordButton {
    background: none;
    border: none;
    color: var(--primary); 
    cursor: pointer;
    padding-bottom: 1%;
    margin: 0%;
    font-size: 0.9em; /* Match the text size */
    margin-left: 5px; /* Add some space between text and button */
}

button#showSignupButton:hover, button#showSigninButton:hover, button#showSigninButtonFromReset:hover, button#forgotPasswordButton:hover {
    color: var(--hover); 
}

#signinButton, #sendResetEmailButton {
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 1%;
    margin: 1%;
    width: 98%; 
}

#signinButton:hover {
    background-color: var(--hover);
}

#showSignupButton {
    font-size: 0.9em; /* Adjust the size as needed */
}

.small-text {
    font-size: 0.9em; /* Adjust the size as needed */
}