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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    overflow-y: scroll;
}

header {
    background-color: #333;
    color: white;
    padding: 1rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #4CAF50;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #f4f4f4;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 140px);
    padding: 2rem;
}

.auth-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.auth-form {
    display: block;
    flex-direction: column;
    gap: 1rem;
}

/* .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
} */

.form-group label {
    font-weight: bold;
}

.form-group input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group {
    position: relative;
    margin-bottom: 1rem;
}

input[type="password"] {
    padding-right: 40px;
    width: 100%;
    box-sizing: border-box;
}

.password-toggle-btn:focus {
    outline: none;
}

.password-toggle-btn:hover {
    opacity: 0.8;
}

button {
    background-color: #333;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #444;
}

.error-message {
    text-align: center;
    color: #ff0000;
    padding: 1rem;
}

.auth-links {
    margin-top: 1rem;
    text-align: center;
}

.auth-links a {
    color: #4CAF50;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(74, 175, 80, 0.2);
}

.form-group input:invalid {
    border-color: #ff6b6b;
}

.auth-form button {
    background-color: #4CAF50;
    color: white;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.auth-form button:hover {
    background-color: #45a049;
}

/* Password strength indicator */
.password-strength {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

/* Phone number format hint */
.phone-hint {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.25rem;
}

/* Form validation messages */
.validation-message {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: none;
}

input:invalid + .validation-message {
    display: block;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
}
