* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #111827;
}

a {
    text-decoration: none;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-left {
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 35%),
        linear-gradient(135deg, #6c2cff, #111827);
    color: #ffffff;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
}

.logo span {
    color: #c4b5fd;
}

.auth-info {
    max-width: 560px;
}

.badge {
    display: inline-flex;
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 22px;
}

.auth-info h1 {
    font-size: 52px;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 22px;
}

.auth-info p {
    font-size: 18px;
    line-height: 1.7;
    color: #e5e7eb;
}

.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    padding: 38px;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(17, 24, 39, 0.10);
    border: 1px solid #e5e7eb;
}

.auth-card h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.subtitle {
    color: #6b7280;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    height: 52px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 0 16px;
    font-size: 15px;
    outline: none;
}

.form-group input:focus {
    border-color: #6c2cff;
    box-shadow: 0 0 0 4px rgba(108, 44, 255, 0.12);
}

.btn-primary {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 14px;
    background: #6c2cff;
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(108, 44, 255, 0.25);
}

.btn-primary:hover {
    background: #5720d8;
}

.auth-link {
    text-align: center;
    margin-top: 24px;
    color: #6b7280;
}

.auth-link a {
    color: #6c2cff;
    font-weight: 800;
}

.alert {
    padding: 13px 15px;
    border-radius: 14px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 700;
}

.alert.error {
    background: #fee2e2;
    color: #b91c1c;
}

@media (max-width: 900px) {
    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-left {
        min-height: 360px;
    }

    .auth-info h1 {
        font-size: 38px;
    }
}

@media (max-width: 520px) {
    .auth-left,
    .auth-right {
        padding: 26px;
    }

    .auth-card {
        padding: 26px;
    }
}

.logo-img {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-img img {
    width: 240px;
    max-width: 80%;
    height: auto;
    display: block;
}

.auth-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
}

.logo-img {
    margin-bottom: 28px;
}

@media (max-width: 768px) {
    .logo-img img {
        height: 46px;
    }
}