*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.container {
    display: flex;
    width: 100%;
    /* max-width: 1060px; */
    min-height: calc(100vh - 110px);
}

/* ══════════════════════════════
   LEFT PANEL
══════════════════════════════ */

.left-panel {
    flex: 1;
    border-right: 1px solid #dadde1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 28px 0 40px 52px;
}

/* Blue "f" circle logo */

.fb-logo {
    margin-bottom: 10px;
    z-index: 2;
}

/* Wrapper that holds BOTH illustration and tagline together */

.content-block {
    position: relative;
    width: 550px;
    height: 560px;
    flex-shrink: 0;
}

/* Tagline: bottom-left of content-block, below left side of illustration */

.tagline {
    position: absolute;
    left: 20px;
    bottom: 190px;
    width: 230px;
    font-size: 44px;
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -1.2px;
    color: #1c1e21;
    z-index: 3;
    max-width: none;
}


.tagline .blue { color: #1877f2; }

/* Illustration floats top-right inside content-block */

.illustration {
    position: absolute;
    top: -50px;
    right: 0;
    width: 500px;
    height: 500px;
    z-index: 1;
}

.illustration .card-icon {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* ══════════════════════════════
   RIGHT PANEL
══════════════════════════════ */

.right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    padding: 40px 52px 60px 52px;
}

.login-wrap { width: 100%;}

.form-title {
    font-size: 24px; font-weight: 400;
    color: #1c1e21; margin-bottom: 20px;
    display: none;
}

.input-field {
    width: 100%; padding: 18px 16px;
    border: 1px solid #dddfe2; border-radius: 15px;
    font-size: 17px; margin-bottom: 12px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    color: #1c1e21; background: #fff;
}
.input-field:focus {
    border-color: #1877f2;
    box-shadow: 0 0 0 2px rgba(24,119,242,.2);
}
.input-field::placeholder { color: #8a8d91; }

/* BLUE full-width pill button */
.login-btn {
    width: 100%; padding: 14px;
    background: #0e64d4; color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 18px; font-weight: 400;
    cursor: pointer; transition: background .15s;
    margin-bottom: 16px;
}
.login-btn:hover  { background: #166fe5; }
.login-btn:active { background: #1464d4; }

/* Plain dark text link */
.forgot-text {
    display: block; text-align: center;
    font-size: 14px; color: #1c1e21;
    text-decoration: none; margin-bottom: 45px; cursor: pointer;
}
.forgot-text:hover { text-decoration: underline; }

.divider { border-top: 1px solid #dadde1; margin-bottom: 20px; width: 100%; }

/* OUTLINED blue pill button */
.create-btn {
    width: 100%; padding: 10px;
    background: #fff; color: #1877f2;
    border: 1.5px solid #1877f2;
    border-radius: 50px;
    font-size: 17px; font-weight: 600;
    cursor: pointer; transition: background .15s;
    margin-bottom: 20px; text-align: center;
}
.create-btn:hover { background: rgba(24,119,242,.06); }

.meta-wrap { width: 100%; text-align: center; }

.toast {
    display: none;
    background: #d4edda; color: #155724;
    padding: 11px 14px; border-radius: 6px;
    text-align: center; margin-bottom: 12px;
    font-size: 14px; border: 1px solid #c3e6cb; width: 100%;
}
.toast.show { display: block; }

/* ══════════════════════════════
   MOBILE LOGO (hidden by default, shown on mobile)
══════════════════════════════ */
.mobile-logo { display: none; }

.mobile-lang{
    font-size:14px;
    color:#1c1e21;
    margin-bottom:38px;
}

/* ══════════════════════════════
   DESKTOP  >= 900px
══════════════════════════════ */
@media (min-width: 900px) {
    .form-title { display: block; }
}

/* ══════════════════════════════
   MOBILE  < 900px
══════════════════════════════ */
@media (max-width: 899px) {
    body { background: #fff; }
    .page-wrapper { align-items: flex-start; }
    .container { flex-direction: column; min-height: unset; }
    .left-panel { display: none; }
    .right-panel { width: 100%; padding: 20px 16px; align-items: center; border: none; }
    .mobile-logo { display: flex; flex-direction: column; align-items: center; margin-bottom: 60px; }
    .login-wrap { max-width: 100%; }
    .input-field { background: #fff; }
    footer { border-top: none; }
    .create-btn { margin-top: 48px; padding: 14px; }
    footer { display: none; }
}

@media (max-width: 400px) {
    .input-field { font-size: 16px; padding: 20px 14px; }
    .login-btn   { font-size: 18px; padding: 12px 14px; }
}