:root {
    --entries-dark: #0f172a;
    --entries-blue: #2563eb;
    --entries-muted: #64748b;
    --entries-soft: #eff6ff;
    --entries-border: #e2e8f0;
    --entries-background: #f8fafc;
}



body {
    background: #faf9f7;
    color: #0a0a0a;
    font-family: Inter, Arial, sans-serif;
}

.navbar {
    background: #faf9f7;
    border-bottom: 1px solid #e7e3dd;
    padding: 18px 40px;
}

.box {
    border: 1px solid #e8e3dc;
    border-radius: 18px;
    box-shadow: none;
    padding: 2rem;
}

.button.is-black {
    background: #000;
    color: #fff;
    border-radius: 999px;
    padding-left: 28px;
    padding-right: 28px;
}

.button.is-black:hover {
    background: #222;
    color: #fff;
}

.field {
    margin-bottom: 1.5rem;
}

.label {
    font-weight: 600;
    margin-bottom: .6rem;
}

.input,
.select select,
.textarea {
    box-shadow: none;
    border-radius: 12px;
}

.input {
    height: 46px;
}

.input:focus,
.select select:focus,
.textarea:focus {
    border-color: #111;
    box-shadow: none;
}

.list-row {
    border-top: 1px solid #eee9e3;
}


/* Progress Bar */

.batch-progress {
    position: relative;
}

.batch-progress::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: #e8e3dc;
    z-index: 0;
}

.batch-progress-step {
    position: relative;
    z-index: 1;
}

.batch-progress-marker {
    width: 34px;
    height: 34px;
    margin: 0 auto 8px;
    border-radius: 50%;
    border: 1px solid #d8d2ca;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}

.batch-progress-step.is-complete .batch-progress-marker {
    background: #eef9f1;
    border-color: #b9e2c0;
    color: #226b35;
}

.batch-progress-step.is-current .batch-progress-marker {
    background: #000;
    border-color: #000;
    color: #fff;
}

/* Navbar */

.navbar{
    border-bottom:1px solid #ece8e2;
}

.navbar-item{
    font-weight:500;
}

/* =========================================================
   PUBLIC PAGES
   Shared styling for public-facing EntriesAI pages
   ========================================================= */


/* ---------------------------------------------------------
   Public Index - Hero
   --------------------------------------------------------- */

.entries-hero {
    min-height: calc(100vh - 92px);
    display: flex;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 5rem;
}


/* ---------------------------------------------------------
   Public Index - Badge
   --------------------------------------------------------- */

.entries-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;

    margin-bottom: 1.5rem;
    padding: 0.55rem 0.9rem;

    background: var(--entries-soft);
    color: var(--entries-blue);

    border-radius: 999px;

    font-size: 0.9rem;
    font-weight: 700;
}


/* ---------------------------------------------------------
   Public Index - Typography
   --------------------------------------------------------- */

.entries-title {
    max-width: 760px;

    color: var(--entries-dark);

    font-size: clamp(2.6rem, 6vw, 5.2rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.055em;
}

.entries-subtitle {
    max-width: 650px;

    color: var(--entries-muted);

    font-size: 1.2rem;
    line-height: 1.7;
}

.entries-small-text,
.entries-feature-text {
    color: var(--entries-muted);
}

.entries-feature-title {
    color: var(--entries-dark);
    font-weight: 800;
}


/* ---------------------------------------------------------
   Public Index - Buttons
   --------------------------------------------------------- */

.entries-primary,
.entries-secondary {
    border-radius: 999px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.entries-primary {
    background: var(--entries-dark);
    border-color: transparent;
    color: #ffffff;
    font-weight: 800;
}

.entries-primary:hover,
.entries-primary:focus {
    background: #020617;
    color: #ffffff;
}

.entries-secondary {
    background: #ffffff;
    border-color: var(--entries-border);
    color: var(--entries-dark);
    font-weight: 700;
}

.entries-secondary:hover,
.entries-secondary:focus {
    border-color: #cbd5e1;
    color: var(--entries-blue);
}


/* ---------------------------------------------------------
   Public Index - Access Card
   --------------------------------------------------------- */

.entries-access-card {
    padding: 2rem;

    background: #ffffff;

    border: 1px solid var(--entries-border);
    border-radius: 2rem;

    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.10);
}


/* ---------------------------------------------------------
   Public Index - Main Card Icon
   --------------------------------------------------------- */

.entries-icon {
    width: 3.4rem;
    height: 3.4rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--entries-soft);
    color: var(--entries-blue);

    border-radius: 1rem;

    font-size: 1.35rem;
}


/* ---------------------------------------------------------
   Public Index - Workflow Features
   --------------------------------------------------------- */

.entries-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;

    padding: 1rem 0;
}

.entries-feature + .entries-feature {
    border-top: 1px solid #eef2f7;
}

.entries-feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 2.5rem;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--entries-soft);
    color: var(--entries-blue);

    border-radius: 0.8rem;
}


/* ---------------------------------------------------------
   Public Index - Links
   --------------------------------------------------------- */

.entries-site-link {
    color: var(--entries-blue);
    font-weight: 700;
}

.entries-site-link:hover,
.entries-site-link:focus {
    color: var(--entries-dark);
    text-decoration: underline;
}


/* ---------------------------------------------------------
   Public Index - Responsive Behaviour
   --------------------------------------------------------- */

@media screen and (max-width: 768px) {

    .entries-hero {
        align-items: flex-start;
        padding-top: 2rem;
    }

    .entries-title {
        font-size: 2.8rem;
    }
}

/* =========================================================
   PUBLIC LAYOUT
   Shared shell for index, authentication and public pages
   ========================================================= */

.entries-public-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--entries-bg);
    color: var(--entries-dark);
    font-family: "Inter", Arial, sans-serif;
}

.entries-public-main {
    flex: 1;
}

.entries-navbar {
    background: rgba(248, 250, 252, 0.96);

    border-bottom: 1px solid var(--entries-border);
    padding: 0.4rem 0;
}

.entries-logo {
    color: var(--entries-dark);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.entries-logo:hover,
.entries-logo:focus {
    color: var(--entries-dark);
    background: transparent;
}

.entries-logo span {
    color: var(--entries-blue);
}

.entries-site-link {
    color: var(--entries-blue);
    font-weight: 700;
}

.entries-site-link:hover,
.entries-site-link:focus {
    color: var(--entries-blue-hover);
    background: transparent;
}

.entries-nav-signin,
.entries-nav-create {
    border-radius: 999px;
}

.entries-nav-signin {
    background: #ffffff;
    border-color: var(--entries-border);
    color: var(--entries-dark);
    font-weight: 700;
}

.entries-nav-signin:hover,
.entries-nav-signin:focus {
    border-color: #cbd5e1;
    color: var(--entries-blue);
}

.entries-nav-create {
    background: var(--entries-blue);
    border-color: var(--entries-blue);
    color: #ffffff;
    font-weight: 800;
}

.entries-nav-create:hover,
.entries-nav-create:focus {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}

.entries-nav-create:hover .icon,
.entries-nav-create:hover span,
.entries-nav-create:focus .icon,
.entries-nav-create:focus span {
    color: #ffffff;
}

.entries-navbar .navbar-burger {
    color: var(--entries-dark);
}

.entries-public-footer {
    margin-top: auto;
    padding: 2rem 1.5rem;
    background: transparent;
    border-top: 1px solid var(--entries-border);
}

.entries-public-footer p {
    margin-bottom: 0.35rem;
}

@media screen and (max-width: 1023px) {
    .entries-navbar .navbar-menu {
        background: #ffffff;
        border: 1px solid var(--entries-border);
        border-radius: 1rem;
        box-shadow: 0 16px 35px rgba(15, 23, 42, 0.10);
        margin: 0 0.75rem 0.75rem;
        padding: 0.75rem;
    }

    .entries-navbar .navbar-end .navbar-item {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .entries-navbar .buttons {
        width: 100%;
        margin-top: 0.25rem;
    }

    .entries-navbar .buttons .button {
        flex: 1;
    }
}
/* =========================================================
   AUTHENTICATION PAGE
   Scoped to the public EntriesAI login card only
   ========================================================= */

.eai-auth-section {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.eai-auth-card {
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.eai-auth-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: #eff6ff;
    color: #2563eb;
}

.eai-auth-subtitle {
    color: #64748b;
    line-height: 1.6;
}

.eai-auth-form .field {
    margin-bottom: 1.25rem;
}

.eai-auth-form label,
.eai-auth-form .label {
    display: block;
    margin-bottom: 0.5rem;
    color: #0f172a;
    font-weight: 700;
}

.eai-auth-form input[type="text"],
.eai-auth-form input[type="email"],
.eai-auth-form input[type="password"] {
    width: 100%;
    min-height: 48px;
    padding: 0.7rem 0.9rem;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-shadow: none;
    font-size: 1rem;
}

.eai-auth-form input[type="text"]:focus,
.eai-auth-form input[type="email"]:focus,
.eai-auth-form input[type="password"]:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.eai-auth-form input[type="submit"],
.eai-auth-form button[type="submit"] {
    width: 100%;
    min-height: 48px;
    margin-top: 0.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    border: 0;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
}

.eai-auth-form input[type="submit"]:hover,
.eai-auth-form button[type="submit"]:hover {
    background: #020617;
    color: #ffffff;
}

/*
   py4web normally renders Sign Up and Lost Password links inside
   the generated login form. The dedicated account link below
   replaces Sign Up, while password recovery remains hidden until
   an email provider is configured.
*/
.eai-auth-form form a {
    display: none;
}

.eai-auth-account-link {
    padding-top: 1.25rem;
    border-top: 1px solid #eef2f7;
    color: #64748b;
}

.eai-auth-account-link a {
    margin-left: 0.25rem;
    color: #2563eb;
    font-weight: 700;
}

.eai-auth-account-link a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .eai-auth-section {
        align-items: flex-start;
        padding-top: 2rem;
    }

    .eai-auth-card {
        padding: 1.75rem;
    }
}


/* --------------------------------------------------
   Flash notifications
-------------------------------------------------- */

.entries-flash-container {
    position: fixed;
    top: 6rem;
    right: 1.5rem;
    width: min(350px, calc(100vw - 3rem));
    z-index: 1000;
}

.entries-flash-container [role="alert"] {
    position: relative;
    padding: 1rem 3rem 1rem 1.25rem;
    margin-bottom: 0.75rem;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #2563eb;
    border-right: 3px solid #2563eb;
    border-radius: 12px;

    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);

    color: #0f172a;
    font-weight: 500;
    line-height: 1.4;
}

.entries-flash-container [role="alert"]::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 0.65rem;
    color: #2563eb;
}

.entries-flash-container [role="alert"] .close {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    cursor: pointer;
    width: 1rem;
    height: 1rem;
}

.entries-flash-container [role="alert"] .close::before {
    content: "\f00d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #64748b;
    font-size: 0.85rem;
}

@media screen and (max-width: 768px) {
    .entries-flash-container {
        top: 5rem;
        right: 1rem;
        width: calc(100vw - 2rem);
    }
}