/* Basic Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* Header */
.top-bar {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    flex-shrink: 0;
    z-index: 10;
}

.logo-container {
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #1e293b;
    font-size: 22px;
}

.logo-text-bold {
    font-weight: 700;
}

.logo-box {
    margin-left: 5px;
    background: #e0f2fe;
    color: #0284c7;
    border: 2px solid #0284c7;
    border-radius: 6px;
    padding: 2px 6px;
    font-weight: 700;
    font-size: 16px;
    position: relative;
}

/* 2 Columns Layout */
.main-container {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.left-panel,
.right-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* --- Left Panel (Login Form) --- */
.left-panel {
    background: #ffffff;
}

.login-wrapper {
    width: 100%;
    max-width: 380px;
    padding: 40px 20px;
}

.sign-in-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 30px;
}

.login-form .input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    color: #475569;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-container .icon {
    position: absolute;
    left: 12px;
    display: flex;
    align-items: center;
    color: #94a3b8;
}

.input-container input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s;
}

.input-container input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px #eff6ff;
}

.input-container input::placeholder {
    color: #cbd5e1;
}

.eye-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #94a3b8;
}

.sign-in-btn {
    width: 100%;
    padding: 14px;
    background: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #475569;
}

.remember-me input {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: #3b82f6;
    border-radius: 4px;
}

.forgot-pwd {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

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

.text-danger {
    color: red;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: #64748b;
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.divider span {
    padding: 0 10px;
}

.sso-buttons {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.sso-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    transition: background 0.2s;
}

.sso-btn:hover {
    background: #f8fafc;
}

.signup-prompt {
    margin-top: 30px;
    font-size: 14px;
    color: #64748b;
}

.signup-prompt a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
}

.signup-prompt a:hover {
    text-decoration: underline;
}

/* --- Right Panel (slider/carousel) --- */
.right-panel {
    background-color: #f0f7ff;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.slider-content {
    width: 100%;
    max-width: 700px;
    text-align: center;
}

.slider-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.slider-content p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 40px;
}

/* Carousel Mechanics */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(148, 163, 184, 0.15);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
}

.slide {
    min-width: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
}

/* Mockup UI style to represent the image */
.mockup-window {
    width: 100%;
    aspect-ratio: 16/9;
    background: #fafafa;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    height: 48px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.mockup-dots {
    width: 12px;
    height: 12px;
    background: #cbd5e1;
    border-radius: 50%;
    box-shadow: 20px 0 0 #cbd5e1, 40px 0 0 #cbd5e1;
}

.mockup-search {
    flex: 1;
    height: 28px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin: 0 100px;
}

.mockup-profile {
    width: 28px;
    height: 28px;
    background: #e2e8f0;
    border-radius: 50%;
}

.mockup-body {
    display: flex;
    flex: 1;
}

.mockup-sidebar {
    width: 160px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: 20px 0;
}

.mockup-sidebar ul {
    list-style: none;
}

.mockup-sidebar li {
    padding: 10px 20px;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
}

.mockup-main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fff;
}

.mockup-primary {
    background: #f1f5f9;
    border-radius: 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed #cbd5e1;
}

.tv-illustration {
    width: 160px;
    height: 90px;
    border: 4px solid #1e293b;
    border-radius: 6px;
    margin-bottom: 16px;
    background: #fff;
    position: relative;
}

.tv-illustration::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: #1e293b;
    border-radius: 2px;
}

.mockup-primary h3 {
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 12px;
}

.add-screen-btn {
    padding: 8px 16px;
    background: #e0f2fe;
    color: #0284c7;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.mockup-cards {
    display: flex;
    gap: 16px;
    height: 100px;
}

.mockup-card {
    flex: 1;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.gradient-blue {
    background: linear-gradient(135deg, #93c5fd, #3b82f6);
    color: #fff;
    border: none;
}


/* Pagination Lines */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.page-dot {
    width: 24px;
    height: 4px;
    background: #cbd5e1;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.page-dot.active {
    background: #3b82f6;
    width: 36px;
}

/* --- Signup Panel --- */
.signup-container {
    display: flex;
    flex: 1;
    overflow-y: auto;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 40px 20px;
}

.signup-wrapper {
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.signup-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.signup-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
    font-weight: 500;
}

.signup-form {
    text-align: left;
}

.signup-form .input-group {
    margin-bottom: 20px;
}

.name-row {
    display: flex;
    gap: 16px;
}

.name-row .input-group {
    flex: 1;
}

.input-container.no-icon input {
    padding-left: 12px;
}

.signin-prompt {
    margin-top: 24px;
    font-size: 13px;
    color: #64748b;
}

.signin-prompt a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
}

.signin-prompt a:hover {
    text-decoration: underline;
}

.terms-prompt {
    margin-top: 24px;
    font-size: 12px;
    line-height: 1.6;
    color: #94a3b8;
}

.terms-prompt a {
    color: #3b82f6;
    text-decoration: none;
}

.terms-prompt a:hover {
    text-decoration: underline;
}

/* absolute positioned elements */
.help-widget {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 10px 16px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: box-shadow 0.2s;
    z-index: 10;
}

.help-widget:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.dots-grid {
    position: absolute;
    bottom: 40px;
    right: 210px;
    opacity: 0.6;
}

.fixed-widget {
    position: fixed;
}

.fixed-dots {
    position: fixed;
}

:root {
    --font-family: 'Inter', sans-serif;
    --text-main: #111827;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --error-color: #dc2626;
    --btn-disabled-bg: #d1d5db;
    --btn-disabled-text: #6b7280;
    --bg-right: #eff6ff;
    --brand-blue: #0265c0;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-main);
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: white;
    -webkit-font-smoothing: antialiased;
}

/* Top Bar */
.topbar {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    background: white;
    flex-shrink: 0;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.logo-word {
    font-weight: 500;
}

.logo-badge {
    background-color: var(--brand-blue);
    color: white;
    padding: 0.1rem 0.4rem 0.2rem 0.4rem;
    border-radius: 6px;
    margin-left: 0.3rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.logo-badge span {
    font-size: 1.3rem;
    font-weight: 700;
}

.logo-badge-icon {
    font-size: 0.65rem;
    margin-top: 1px;
}

/* Split Layout */
.split-layout {
    display: flex;
    flex: 1;
    height: calc(100vh - 70px);
}

/* Left Pane (Form) */
.left-pane {
    flex: 1;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.form-container {
    max-width: 420px;
    width: 100%;
    text-align: center;
    margin-top: -5vh;
    /* adjust visual centering */
}

.form-container h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.form-container p.subtitle {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

.form-group {
    text-align: left;
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #374151;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    font-size: 1rem;
    transition: color 0.2s;
}

.input-wrapper.error .input-icon {}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.6rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
    color: #9ca3af;
    /* as seen in screenshot */
}

.form-control:focus {
    border-color: #4b5563;
}

.form-control.error {
    color: #9ca3af;
}

.error-message {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--error-color);
    font-size: 0.8rem;
    margin-top: 0.6rem;
}

.btn-submit {
    width: 100%;
    padding: 0.85rem;
    border: none;
    border-radius: 6px;
    background: #ff6b00;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 2rem;
}

.back-link {
    display: inline-block;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.back-link:hover {
    color: #111827;
}

/* Right Pane (Illustration) */
.right-pane {
    flex: 1;
    background-color: var(--bg-right);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.illustration-card {
    background: white;
    border: 4px solid #3b82f6;
    border-radius: 12px;
    padding: 1.5rem 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
}

.asterisk {
    color: #e11d48;
    /* Redasterisk color matches screenshot */
    font-size: 2.5rem;
    line-height: 1;
    margin-top: 10px;
    font-weight: 800;
}

.lock-icon {
    color: #e11d48;
    font-size: 1.6rem;
    margin-left: 0.5rem;
}

/* reCAPTCHA Badge Mockup */
.recaptcha-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 76px;
    text-decoration: none;
}

.recaptcha-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 6px;
}

.recaptcha-text {
    font-size: 0.55rem;
    color: #6b7280;
    text-align: center;
}

@media (max-width: 768px) {
    .split-layout {
        flex-direction: column;
    }

    .right-pane {
        display: none;
    }

    .form-container {
        margin-top: 0;
    }
}

/* Responsive */
:root {
    --font-family: 'Inter', sans-serif;
    --text-main: #111827;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --error-color: #dc2626;
    --btn-disabled-bg: #d1d5db;
    --btn-disabled-text: #6b7280;
    --bg-right: #eff6ff;
    --brand-blue: #0265c0;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-main);
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: white;
    -webkit-font-smoothing: antialiased;
}

/* Top Bar */
.topbar {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    background: white;
    flex-shrink: 0;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.logo-word {
    font-weight: 500;
}

.logo-badge {
    background-color: var(--brand-blue);
    color: white;
    padding: 0.1rem 0.4rem 0.2rem 0.4rem;
    border-radius: 6px;
    margin-left: 0.3rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.logo-badge span {
    font-size: 1.3rem;
    font-weight: 700;
}

.logo-badge-icon {
    font-size: 0.65rem;
    margin-top: 1px;
}

/* Split Layout */
.split-layout {
    display: flex;
    flex: 1;
    height: calc(100vh - 70px);
}

/* Left Pane (Form) */
.left-pane {
    flex: 1;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.form-container {
    max-width: 420px;
    width: 100%;
    text-align: center;
    margin-top: -5vh;
    /* adjust visual centering */
}

.form-container h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.form-container p.subtitle {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

.form-group {
    text-align: left;
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #374151;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    font-size: 1rem;
    transition: color 0.2s;
}

.input-wrapper.error .input-icon {}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.6rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
    color: #9ca3af;
    /* as seen in screenshot */
}

.form-control:focus {
    border-color: #4b5563;
}

.form-control.error {
    color: #9ca3af;
}

.error-message {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--error-color);
    font-size: 0.8rem;
    margin-top: 0.6rem;
}

.btn-submit {
    width: 100%;
    padding: 0.85rem;
    border: none;
    border-radius: 6px;
    background: #ff6b00;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 2rem;
}

.back-link {
    display: inline-block;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.back-link:hover {
    color: #111827;
}

/* Right Pane (Illustration) */
.right-pane {
    flex: 1;
    background-color: var(--bg-right);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.illustration-card {
    background: white;
    border: 4px solid #3b82f6;
    border-radius: 12px;
    padding: 1.5rem 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
}

.asterisk {
    color: #e11d48;
    /* Redasterisk color matches screenshot */
    font-size: 2.5rem;
    line-height: 1;
    margin-top: 10px;
    font-weight: 800;
}

.lock-icon {
    color: #e11d48;
    font-size: 1.6rem;
    margin-left: 0.5rem;
}

/* reCAPTCHA Badge Mockup */
.recaptcha-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 76px;
    text-decoration: none;
}

.recaptcha-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 6px;
}

.recaptcha-text {
    font-size: 0.55rem;
    color: #6b7280;
    text-align: center;
}

@media (max-width: 768px) {
    .split-layout {
        flex-direction: column;
    }

    .right-pane {
        display: none;
    }

    .form-container {
        margin-top: 0;
    }
}

@media (max-width: 900px) {
    .main-container {
        flex-direction: column;
        overflow-y: auto;
    }

    .left-panel,
    .right-panel {
        height: auto;
        min-height: 100vh;
        padding: 40px 20px;
    }

    .top-bar {
        position: sticky;
        top: 0;
    }

    .mockup-body {
        flex-direction: column;
    }

    .mockup-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 10px 0;
    }

    .mockup-sidebar ul {
        display: flex;
        justify-content: center;
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .sso-buttons {
        flex-direction: column;
    }

    .name-row {
        flex-direction: column;
        gap: 0;
    }

    .name-row .input-group {
        margin-bottom: 20px;
    }

    .mockup-cards {
        height: auto;
        flex-direction: column;
    }

    .mockup-search {
        display: none;
        /* Hide placeholder search bar on very small devices for cleaner look */
    }

    .signup-container,
    .left-panel,
    .right-panel {
        padding: 24px 16px;
    }

    .help-widget {
        bottom: 20px;
        right: 20px;
    }

    .dots-grid {
        display: none;
        /* Hide decorative background dots on mobile */
    }
}