:root {
    --bg-dark: #121212;
    --bg-light: #2d2d2d;
    --primary-text: #e0e0e0;
    --secondary-text: #a0a0a0;
    --accent-color: #3a86ff;
    --border-color: #333333;
    --error-bg: #2e1a1a;
    --error-text: #ff8a8a;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--primary-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main-container {
    display: flex;
    min-height: 100vh;
}

/* Info Section (Left Side) */
.info-section {
    flex: 6;
    background-color: var(--bg-dark);
    padding: 2.5rem 3.5rem;
    display: flex;
    flex-direction: column;
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-text);
}

.logo-icon {
    color: var(--accent-color);
}

.edition-tag {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-color);
    background-color: rgba(58, 134, 255, 0.1);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}

.info-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome-image {
    width: 95%;
    margin-bottom: 2rem;
    border-radius: 12px;
    align-self: flex-start;
    margin-left: 0;
}

.main-headline {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 15ch;
}

.sub-headline {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--secondary-text);
    max-width: 55ch;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

.feature h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--secondary-text);
}


/* Login Section (Right Side) */
.login-section {
    flex: 4;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-wrapper {
    max-width: 380px;
    width: 100%;
}

.login-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-intro h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.login-intro p {
    color: var(--secondary-text);
}

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

.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.input-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--primary-text);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 0.9rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #1a75ff;
}

.support-links {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

.support-links a {
    color: var(--secondary-text);
    text-decoration: none;
    margin: 0 0.75rem;
    transition: color 0.2s;
}

.support-links a:hover {
    color: var(--primary-text);
    text-decoration: underline;
}

.error-message-box {
    background-color: var(--error-bg);
    color: var(--error-text);
    border: 1px solid var(--error-text);
    padding: 0.85rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
    }
    .info-section {
        padding: 2rem;
    }
    .main-headline {
        font-size: 2.5rem;
    }
} 