* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: #f8fafc;
    color: #0f172a;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-left {
    background: linear-gradient(135deg, #6c2cff, #8b5cf6);
    color: #ffffff;
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    top: -120px;
    right: -120px;
}

.auth-left::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    bottom: -80px;
    left: -80px;
}

.logo-img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-bottom: 34px;
    position: relative;
    z-index: 2;
}

.logo-img img {
    width: 240px;
    max-width: 80%;
    height: auto;
    display: block;
}

.auth-info {
    max-width: 520px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.badge {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 22px;
}

.auth-info h1 {
    font-size: 46px;
    line-height: 1.08;
    margin-bottom: 18px;
    letter-spacing: -1.2px;
}

.auth-info p {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.86);
}

.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.auth-card {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border-radius: 28px;
    padding: 36px;
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.10);
    border: 1px solid #e5e7eb;
}

.auth-card h2 {
    font-size: 30px;
    margin-bottom: 8px;
    color: #0f172a;
}

.subtitle {
    color: #64748b;
    margin-bottom: 26px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
}

.form-group input {
    width: 100%;
    padding: 15px 16px;
    border-radius: 15px;
    border: 1px solid #cbd5e1;
    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%;
    border: none;
    border-radius: 16px;
    padding: 15px 18px;
    background: #6c2cff;
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition: 0.25s ease;
}

.btn-primary:hover {
    background: #5b21e6;
    transform: translateY(-2px);
}

.alert {
    padding: 13px 15px;
    border-radius: 14px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 700;
}

.alert.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (max-width: 900px) {
    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-left {
        padding: 50px 24px;
        min-height: 420px;
    }

    .auth-info h1 {
        font-size: 34px;
    }

    .auth-right {
        padding: 30px 20px;
    }

    .logo-img img {
        width: 200px;
    }
}