/* ===== Auth pages ===== */
.auth-body { background: linear-gradient(135deg,#fff5f8 0%,#ffe8ee 100%); min-height:100vh; }

.auth-wrap { padding: 40px 0 60px; }

.auth-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(233,30,99,.1);
}
.auth-card-wide { max-width: 900px; }

.auth-header { text-align:center; margin-bottom: 30px; }
.auth-header h2 {
    font-family:'Playfair Display', serif;
    font-size: 32px; color: #2d1b3d; margin-bottom: 8px;
}
.auth-header h2 span { color:#e91e63; font-style:italic; }
.auth-header p { color:#777; font-size:14px; }

/* Progress bar */
.progress-steps {
    display:flex; align-items:center; justify-content:center;
    margin: 20px 0 35px; gap: 5px;
}
.pstep { display:flex; flex-direction:column; align-items:center; min-width:60px; }
.pstep span {
    width: 36px; height:36px; border-radius:50%;
    background:#eee; color:#999;
    display:flex; align-items:center; justify-content:center;
    font-weight:600; font-size:14px;
    transition:all .3s;
}
.pstep.active span { background: linear-gradient(135deg,#e91e63,#d81b60); color:#fff; }
.pstep label { font-size: 11px; color:#777; margin-top:6px; }
.pline { flex:1; max-width: 60px; height:2px; background:#eee; margin: 0 5px; margin-bottom: 22px; }

/* Section titles inside forms */
.form-section-title {
    font-family:'Playfair Display', serif;
    color:#2d1b3d;
    border-left: 4px solid #e91e63;
    padding-left: 12px;
    margin: 30px 0 18px;
    font-size: 20px;
}
.form-section-title i { color:#e91e63; margin-right:6px; }

/* Form grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 20px;
    margin-bottom: 10px;
}
.form-group { display:flex; flex-direction:column; }
.form-group label {
    font-size:13px; color:#555;
    margin-bottom:6px; font-weight:500;
}
.req { color:#e91e63; }
.form-input {
    width:100%;
    padding: 11px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fafafa;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all .2s;
}
.form-input:focus {
    border-color: #e91e63;
    background:#fff;
    box-shadow: 0 0 0 3px rgba(233,30,99,.08);
}
textarea.form-input { resize: vertical; min-height: 90px; }

.err { color:#d32f2f; font-size:12px; margin-top:4px; }

/* Terms */
.terms {
    display:flex; align-items:center; gap:10px;
    margin: 20px 0; font-size: 14px; color:#555;
}
.terms a { color:#e91e63; }

/* Buttons */
.btn-block { display:block; width:100%; text-align:center; }

.auth-foot { text-align:center; margin-top:20px; color:#666; font-size:14px; }
.auth-foot a { color:#e91e63; font-weight:500; }

/* Alerts */
.alert {
    padding: 12px 16px; border-radius:10px;
    margin-bottom: 20px; font-size:14px;
}
.alert-success { background:#e6f7ea; color:#1b7f3b; border:1px solid #a3d9b1; }
.alert-danger  { background:#fdecea; color:#b71c1c; border:1px solid #f5b8b3; }

.compact-footer { padding-top:0; }

/* ===== Split Login Layout ===== */
.login-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(233,30,99,.12);
}

.login-visual {
    background: linear-gradient(135deg,#e91e63 0%,#9c27b0 100%);
    color: #fff;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}
.login-visual::before {
    content: "";
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    top: -100px; right: -100px;
}
.login-visual::after {
    content: "\f004";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    font-size: 250px;
    color: rgba(255,255,255,.06);
    bottom: -50px; left: -30px;
    transform: rotate(-15deg);
}
.visual-content { position: relative; z-index: 2; }
.visual-content h2 {
    font-family:'Playfair Display', serif;
    font-size: 40px; line-height: 1.15;
    margin-bottom: 15px;
}
.visual-content h2 span { color: #ffd54f; font-style: italic; }
.visual-content > p { opacity: .92; margin-bottom: 30px; font-size: 15px; }

.visual-quote {
    background: rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 25px;
    backdrop-filter: blur(8px);
}
.visual-quote i {
    color: rgba(255,255,255,.5);
    font-size: 20px;
    margin-bottom: 8px;
}
.visual-quote p {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}
.quote-author {
    display: flex; align-items: center; gap: 12px;
}
.avatar-circle {
    width: 40px; height: 40px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.4);
}
.quote-author strong { display:block; font-size: 14px; }
.quote-author small  { opacity: .85; font-size: 12px; }

.visual-features { display: flex; flex-direction: column; gap: 10px; }
.visual-features div {
    font-size: 13px;
    display: flex; align-items: center; gap: 10px;
}
.visual-features i {
    background: rgba(255,255,255,.2);
    padding: 6px; border-radius: 50%;
    width: 24px; height: 24px;
    display:flex; align-items:center; justify-content:center;
    font-size: 11px;
}

.login-form-wrap { padding: 50px 40px; }

/* Input with icon */
.input-icon { position: relative; }
.input-icon i {
    position: absolute;
    left: 14px; top: 50%;
    transform: translateY(-50%);
    color: #999; font-size: 14px;
    z-index: 1;
}
.input-icon .form-input { padding-left: 40px; }

.row-between {
    display: flex; align-items: center; justify-content: space-between;
    margin: 8px 0 20px;
}
.forgot-link {
    color: #e91e63; font-size: 13px; font-weight: 500;
}
.forgot-link:hover { text-decoration: underline; }

/* Divider */
.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
    color: #aaa; font-size: 12px;
}
.divider::before, .divider::after {
    content: "";
    position: absolute; top: 50%;
    width: 45%; height: 1px; background: #eee;
}
.divider::before { left: 0; }
.divider::after  { right: 0; }
.divider span { background: #fff; padding: 0 12px; }

/* Social login */
.social-login { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-social {
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    font-size: 14px; font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-social:hover { border-color: #e91e63; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.btn-google i    { color: #db4437; }
.btn-facebook i  { color: #1877f2; }

@media (max-width: 800px) {
    .login-split { grid-template-columns: 1fr; }
    .login-visual { padding: 35px 25px; }
    .login-form-wrap { padding: 35px 25px; }
    .visual-content h2 { font-size: 30px; }
}

@media (max-width: 700px) {
    .form-grid { grid-template-columns: 1fr; }
    .auth-card { padding: 25px; }
    .pstep label { display:none; }
}
