/* Reset some basic styles for consistency */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 93vh;
    background-color: #f0f2f5;
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
    text-align: center;
}

h2 {
    margin-bottom: 20px;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15px;
}

form label {
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

form input[type="text"],
form input[type="email"],
form input[type="password"] {
    margin-bottom: 5px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    min-width: 250px; /* Adjust based on your preference */
    max-width: 100%;
}

button, input[type="submit"] {
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%; /* Adjust for full width */
}

/* Ensure consistent button styles across devices */
form input[type="submit"] {
    -webkit-appearance: none;  /* Override default styles in iOS */
    -moz-appearance: none;     /* Override default styles in Firefox */
    appearance: none;          /* Override default styles in other browsers */
}

button:hover, input[type="submit"]:hover {
    background-color: #45a049;
}

p.register-link,
p.explore-link {
    margin-top: 15px;
    color: #333;
}

p{
    margin-bottom: 10px;
}

p.register-link a,
p.login-link a {
    color: #4CAF50;
    text-decoration: none;
}

p.register-link a:hover,
p.login-link a:hover {
    text-decoration: underline;
}

h2.message {
    margin-top: 20px;
    color: red;
    text-align: center;
    width: 100%;
}


.form-group {
    margin-bottom: 15px;
}

.error-message {
    color: red;
    font-size: 14px;
    display: block;
}




/* .modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-content button {
    width: auto; 
    margin: 0 5px;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.modal-content button:hover {
    background-color: #0056b3;
} */
