:root {
    --primary-color: #0085ff;
    --secondary-color: #00a3ff;
    --background-color: #f8fafc;
    --text-color: #333;
    --border-color: #ddd;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-container {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

p {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="text"], 
input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 133, 255, 0.2);
}

/* Input validation styles */
input.valid-input {
    border-color: #10b981;
    background-color: rgba(16, 185, 129, 0.05);
}

input.invalid-input {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: var(--secondary-color);
}

#status-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
}

#status-message.success {
    background-color: #d1fae5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

#status-message.error {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.hidden {
    display: none;
}

.info-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f0f7ff;
    border-radius: 4px;
    border-left: 3px solid var(--primary-color);
}

.info-box h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

footer {
    margin-top: 2rem;
    text-align: center;
    color: #666;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}