:root {
    --bg-dark: #f8f9fa;
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --primary: #007aff;
    --primary-hover: #006ae6;
    --white: #ffffff;
    --border: #e2e2e6;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

.split-layout {
    display: flex;
    min-height: 100vh;
}

/* Left Side - Info */
.info-side {
    flex: 1.2;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-wrapper {
    max-width: 480px;
}

.badge {
    background: rgba(0, 122, 255, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    display: inline-block;
}

.info-side h1 {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.info-side p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 40px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
}

.icon {
    font-size: 24px;
    background: var(--white);
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Right Side - Form */
.form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--white);
}

.portal-card {
    width: 100%;
    max-width: 400px;
}

.tabs {
    display: flex;
    background: var(--bg-dark);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 32px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn.active {
    background: var(--white);
    color: var(--text-main);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.auth-box h2 {
    font-size: 28px;
    margin-bottom: 6px;
}

.form-desc {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 15px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    background: #fafafa;
    transition: 0.2s;
    outline: none;
}

.input-group input:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.primary-btn {
    width: 100%;
    background: var(--text-main);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: 0.2s;
}

.primary-btn:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feedback-box {
    margin-top: 24px;
    background: rgba(52, 199, 89, 0.1);
    border: 1px solid rgba(52, 199, 89, 0.3);
    color: #2b9e44;
    padding: 16px;
    border-radius: 12px;
    animation: fadeBox 0.5s ease;
}

.feedback-box.hidden {
    display: none;
}

@keyframes fadeBox {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile responsivitate */
@media (max-width: 800px) {
    .split-layout { flex-direction: column; }
    .info-side { padding: 40px 24px; text-align: center; }
    .feature { flex-direction: column; text-align: center; }
    .content-wrapper { display: flex; flex-direction: column; align-items: center;}
}
