:root {
    --primary-color: #0175b9; /* Updated Trello Blue */
    --primary-color-dark: #01619d; /* Darker shade of #0175b9 */
    --text-color-dark: #222;
    --text-color-light: #555;
    --panel-background: #FFFFFF;
    --page-background: #111111; /* Dark background */
    --border-color: #E0E0E0;
    --input-background: #F7F7F7;
    --error-color: #F44336;
    --success-color: #4CAF50; /* Green for success */
    --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    --border-radius: 8px;
    --panel-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

html, body {
    height: 100%; /* Ensure body takes full height */
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--page-background);
    display: flex; /* Use flexbox for centering */
    justify-content: center;
    align-items: center;
    padding: 1rem; /* Add some padding for smaller screens */
}

.page-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Style for optional page logo (like LeadsBlender) if added later */
.page-logo {
    max-width: 200px;
    margin-bottom: 2rem;
}

.content-panel {
    background-color: var(--panel-background);
    border-radius: var(--border-radius);
    padding: 2.5rem 3rem; /* Generous padding */
    box-shadow: var(--panel-shadow);
    max-width: 450px; /* Limit panel width */
    width: 100%; /* Responsive width */
    text-align: center; /* Center text elements */
}

.panel-logo {
    max-height: 60px; /* Increased Trello logo size */
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.8rem;
    font-weight: 700; /* Bolder heading */
    color: var(--text-color-dark);
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-color-light);
    margin-bottom: 2rem; /* More space before form */
    font-size: 0.95rem;
}

/* Form Styling */
.auth-form {
    margin-top: 1.5rem;
    text-align: left; /* Align form elements left */
}

.form-group {
    margin-bottom: 1rem;
    position: relative; /* For potential icon positioning */
}

.form-input {
    width: 100%;
    padding: 0.9rem 1rem; /* Comfortable padding */
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background-color: var(--input-background);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input::placeholder {
    color: #999;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color); /* Use Trello blue for focus */
    box-shadow: 0 0 0 3px rgba(1, 117, 185, 0.2); /* Focus shadow for #0175b9 */
}

/* Button Styling */
.button {
    background-color: var(--primary-color); /* Use Trello Blue */
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 0.9rem 1.5rem;
    font-size: 1.1rem; /* Larger font size */
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    text-decoration: none;
    display: block; /* Make button block level */
    width: 100%; /* Full width */
    margin-top: 1.5rem; /* Space above button */
}

.button:hover {
    background-color: var(--primary-color-dark); /* Use darker Trello Blue */
    transform: translateY(-1px);
}

.button:active {
    transform: translateY(0);
}

/* Message Styling */
.message-box {
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0 0 0; /* Margin top only */
    border-width: 1px;
    border-style: solid;
    text-align: center;
    font-size: 0.9rem;
}

.message-box p {
    margin-bottom: 0; /* Remove default p margin */
    color: inherit; /* Inherit color from parent */
}

.success-message {
    color: #155724;
    background-color: #D4EDDA;
    border-color: #C3E6CB;
}

.error-message {
    color: #721C24;
    background-color: #F8D7DA;
    border-color: #F5C6CB;
}

/* Remove styles for elements no longer present */
/* .header, .hero-section, .card, etc. are gone */