* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-wrapper {
    width: 100%;
    max-width: 1100px;
    min-height: 650px;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-left {
    background: linear-gradient(180deg, #0d6efd, #1677ff);
    color: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-left h1 {
    font-size: 42px;
    margin-bottom: 18px;
    font-weight: 700;
}

.auth-left p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    max-width: 480px;
}

.auth-right {
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fbff;
}

.form-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 15px 40px rgba(2, 6, 23, 0.08);
}

.form-card h2 {
    font-size: 30px;
    color: #0f172a;
    margin-bottom: 10px;
}

.form-card p {
    color: #64748b;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1e293b;
    font-weight: 600;
    font-size: 14px;
}

.form-control {
    width: 100%;
    height: 54px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 0 16px;
    font-size: 15px;
    outline: none;
    transition: 0.3s ease;
    background: #fff;
}

.form-control:focus {
    border-color: #1677ff;
    box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.12);
}

.btn-primary {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #0d6efd, #3b82f6);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.22);
}

.message {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: 14px;
}

.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.auth-link {
    display: inline-block;
    margin-top: 18px;
    color: #1677ff;
    font-weight: 600;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
    }

    .auth-left,
    .auth-right {
        padding: 32px;
    }

    .auth-left h1 {
        font-size: 32px;
    }
}