/* ============================================================
   Diilzo — Sign-In page (modern split-screen redesign)
   ============================================================ */

.dzl-page {
    display: grid;
    grid-template-columns: 45% 1fr;
    min-height: 100vh;
    background: #f5f5f7;
}

/* ── Left branding panel ─────────────────────────────────────── */
.dzl-brand-panel {
    background: linear-gradient(160deg, #101426 0%, #1f1b3a 50%, #32C700 135%);
    color: #fff;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.dzl-brand-panel::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 149, 0, 0.35), transparent 70%);
}

.dzl-brand-panel::after {
    content: '';
    position: absolute;
    bottom: -140px;
    left: -100px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(80, 120, 255, 0.18), transparent 70%);
}

.dzl-brand-content {
    position: relative;
    z-index: 2;
}

/* Brand logo — image-based */
.dzl-brand-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    margin-bottom: 44px;
    line-height: 1;
}

.dzl-brand-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.dzl-brand-logo-subtitle {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}

.dzl-brand-content h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 12px;
}

.dzl-brand-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 38px;
}

.dzl-feature {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
    align-items: flex-start;
}

.dzl-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--diilzo-accent);
}

.dzl-feature h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.dzl-feature p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.dzl-brand-quote {
    margin-top: 40px;
    padding: 20px 24px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(6px);
    border-left: 3px solid var(--diilzo-accent);
}

.dzl-brand-quote i {
    color: var(--diilzo-accent);
    font-size: 14px;
}

.dzl-brand-quote p {
    font-size: 14px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-top: 6px;
}

.dzl-brand-footer {
    position: relative;
    z-index: 2;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* ── Right form panel ────────────────────────────────────────── */
.dzl-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    overflow-y: auto;
    background: #f0f1f4;
}

.dzl-form-card {
    width: 100%;
    max-width: 460px;
    overflow: hidden;
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 36px 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

#dzlForm {
    width: 100%;
    overflow: hidden;
}

.dzl-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--diilzo-muted);
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.15s;
}

.dzl-back-link:hover {
    color: var(--diilzo-primary);
}

.dzl-form-header {
    text-align: left;
    margin-bottom: 28px;
}

.dzl-form-badge {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--diilzo-primary), var(--diilzo-accent));
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.25);
}

.dzl-form-card h2 {
    font-size: 30px;
    font-weight: 800;
    color: var(--diilzo-text);
}

.dzl-form-sub {
    font-size: 14px;
    color: var(--diilzo-muted);
    margin-top: 6px;
}

.dzl-field {
    margin-bottom: 18px;
    width: 100%;
    min-width: 0;
}

/* Floating-label field */
.dzl-float .dzl-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    background: #f8f9fa;
    border: 1.5px solid #e2e5e9;
    border-radius: 12px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    overflow: hidden;
}

.dzl-float .dzl-input-wrap:hover {
    border-color: #c8ccd2;
    background: #fdfdfe;
}

.dzl-float .dzl-input-wrap:focus-within {
    border-color: var(--diilzo-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.10);
}

/* Icon inside the field */
.dzl-float .dzl-input-wrap>i {
    position: absolute;
    left: 16px;
    color: #9aa0a6;
    font-size: 15px;
    pointer-events: none;
    transition: color 0.25s ease;
    z-index: 2;
}

.dzl-float .dzl-input-wrap:focus-within>i {
    color: var(--diilzo-primary);
}

/* The input itself */
.dzl-float .dzl-input-wrap input {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 56px;
    border: none;
    outline: none;
    background: transparent;
    padding: 18px 16px 6px 44px;
    font-size: 15px;
    font-family: inherit;
    color: var(--diilzo-text);
    position: relative;
    z-index: 1;
}

.dzl-float .dzl-input-wrap input::placeholder {
    color: transparent;
}

/* The floating label */
.dzl-float .dzl-input-wrap label {
    position: absolute;
    left: 44px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #9aa0a6;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 60px);
}

/* Label floats up when input is focused or has content */
.dzl-float .dzl-input-wrap input:focus+label,
.dzl-float .dzl-input-wrap input:not(:placeholder-shown)+label {
    top: 12px;
    transform: translateY(0);
    font-size: 11px;
    font-weight: 600;
    color: var(--diilzo-primary);
    max-width: calc(100% - 50px);
}

.dzl-float .dzl-input-wrap input:not(:placeholder-shown)+label {
    color: #5f6368;
}

/* Password eye toggle inside floating field */
.dzl-float .dzl-input-wrap .dzl-eye {
    position: absolute;
    right: 10px;
    width: 34px;
    height: 34px;
    border: none;
    background: none;
    color: #9aa0a6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
    z-index: 3;
}

.dzl-float .dzl-input-wrap .dzl-eye:hover {
    color: var(--diilzo-primary);
    background: rgba(255, 106, 0, 0.08);
}

/* Adjust input padding when eye toggle is present */
.dzl-float .dzl-input-wrap:has(.dzl-eye) input {
    padding-right: 50px;
}

/* Forgot password link (below the password field) */
.dzl-forgot {
    display: inline-block;
    font-size: 13px;
    color: var(--diilzo-primary);
    text-decoration: none;
    font-weight: 600;
    margin-top: 8px;
}

.dzl-forgot:hover {
    text-decoration: underline;
}

/* Remember me */
.dzl-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    margin: 2px 0 22px;
}

.dzl-remember input {
    width: 17px;
    height: 17px;
    accent-color: var(--diilzo-primary);
    cursor: pointer;
}

/* Submit */
.dzl-submit {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--diilzo-primary), var(--diilzo-accent));
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 6px 20px rgba(255, 106, 0, 0.3);
}

.dzl-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 106, 0, 0.4);
}

.dzl-submit:active {
    transform: translateY(0);
}

.dzl-submit i {
    transition: transform 0.2s;
}

.dzl-submit:hover i {
    transform: translateX(4px);
}

.dzl-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px 0 16px;
}

.dzl-divider::before,
.dzl-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.dzl-divider span {
    font-size: 13px;
    color: #999;
}

.dzl-create {
    display: block;
    text-align: center;
    padding: 14px;
    border: 2px solid #e5e5e5;
    border-radius: 14px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--diilzo-text);
    transition: all 0.2s;
    background: #fff;
}

.dzl-create:hover {
    border-color: var(--diilzo-primary);
    color: var(--diilzo-primary);
    background: #DCF5EC;
}

/* Trust row */
.dzl-trust-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.dzl-trust-row span {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dzl-trust-row i {
    color: var(--diilzo-primary);
}

/* Responsive: single column on mobile */
@media (max-width: 900px) {
    .dzl-page {
        grid-template-columns: 1fr;
    }

    .dzl-brand-panel {
        padding: 32px 28px;
        min-height: auto;
    }

    .dzl-brand-content h1 {
        font-size: 24px;
    }

    .dzl-brand-features,
    .dzl-brand-quote {
        display: none;
    }

    .dzl-brand-logo {
        margin-bottom: 14px;
    }

    .dzl-brand-footer {
        margin-top: 18px;
    }

    .dzl-form-panel {
        padding: 24px 20px 48px;
    }
}

/* ── Google OAuth button ───────────────────────────────────────── */
.dzl-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 16px;
    background: #ffffff;
    color: #3c4043;
    border: 1px solid #dadce0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
}

.dzl-google-btn:hover {
    background: #f8f9fa;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.16);
}

.dzl-google-btn:active {
    transform: translateY(1px);
}

.dzl-google-btn svg {
    flex-shrink: 0;
}

/* ── Social Login Grid (Google, Facebook, Instagram, TikTok) ──── */
.dzl-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.dzl-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: #fff;
    color: #333;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.dzl-social-btn:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.dzl-social-btn:active {
    transform: translateY(0);
}

.dzl-social-btn svg {
    flex-shrink: 0;
}

.dzl-social-google:hover {
    border-color: #4285F4;
}

.dzl-social-facebook:hover {
    border-color: #1877F2;
}

.dzl-social-facebook {
    color: #1877F2;
}

.dzl-social-instagram:hover {
    border-color: #d62976;
}

.dzl-social-instagram {
    color: #d62976;
}

.dzl-social-tiktok:hover {
    border-color: #000;
}

.dzl-social-tiktok {
    color: #161823;
}

/* Bottom social icons row */
.dzl-social-bottom {
    margin-top: 14px;
    text-align: center;
}

.dzl-social-bottom>span {
    display: block;
    color: #9aa0a6;
    font-size: 12px;
    margin-bottom: 10px;
}

.dzl-social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dzl-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    transition: all 0.15s ease;
}

.dzl-social-icon:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

/* "or sign in with email" divider */
.dzl-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 14px 0 18px;
    color: #9aa0a6;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dzl-divider::before,
.dzl-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8eaed;
}

.dzl-divider span {
    padding: 0 12px;
}

/* Bottom Google link (near create-account) */
.dzl-google-bottom {
    margin-top: 14px;
    text-align: center;
}

.dzl-google-bottom>span {
    display: block;
    color: #9aa0a6;
    font-size: 12px;
    margin-bottom: 8px;
}

.dzl-google-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a73e8;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 14px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    background: #fff;
    transition: background 0.15s ease;
}

.dzl-google-link:hover {
    background: #f8f9fa;
}