/* _content/HerbRecognition_Web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-m3my0pk36z] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-m3my0pk36z] {
    flex: 1;
}

.sidebar[b-m3my0pk36z] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-m3my0pk36z] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-m3my0pk36z]  a, .top-row[b-m3my0pk36z]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-m3my0pk36z]  a:hover, .top-row[b-m3my0pk36z]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-m3my0pk36z]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* ============    search bar    ============*/
.search-bar[b-m3my0pk36z] {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 560px;
    height: 58px;
    margin-top: 28px;
    background: #ffffff;
    border: 1px solid #d7ddd6;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(31, 52, 40, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .search-bar:focus-within[b-m3my0pk36z] {
        border-color: #376b4b;
        box-shadow: 0 8px 24px rgba(55, 107, 75, 0.12);
    }

    .search-bar input[b-m3my0pk36z] {
        flex: 1;
        min-width: 0;
        padding: 0 20px;
        border: none;
        outline: none;
        background: transparent;
        color: #1c2a22;
        font-family: inherit;
        font-size: 16px;
    }

        .search-bar input[b-m3my0pk36z]::placeholder {
            color: #89948d;
        }

    .search-bar button[b-m3my0pk36z] {
        width: 58px;
        border: none;
        background: #2f6244;
        color: white;
        font-size: 20px;
        cursor: pointer;
        transition: background 0.2s ease;
    }

        .search-bar button:hover[b-m3my0pk36z] {
            background: #254f37;
        }

        .search-bar button:active[b-m3my0pk36z] {
            transform: scale(0.97);
        }

    .hero-search[b-m3my0pk36z] {
        margin-bottom: 22px;
    }
/* ========================*/

@media (max-width: 640.98px) {
    .top-row[b-m3my0pk36z] {
        justify-content: space-between;
    }

    .top-row[b-m3my0pk36z]  a, .top-row[b-m3my0pk36z]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-m3my0pk36z] {
        flex-direction: row;
    }

    .sidebar[b-m3my0pk36z] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-m3my0pk36z] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-m3my0pk36z]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-m3my0pk36z], article[b-m3my0pk36z] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (max-width: 600px) {
    .search-bar[b-m3my0pk36z] {
        height: 54px;
        border-radius: 12px;
    }

        .search-bar input[b-m3my0pk36z] {
            padding: 0 16px;
            font-size: 15px;
        }

        .search-bar button[b-m3my0pk36z] {
            width: 54px;
        }
}

#blazor-error-ui[b-m3my0pk36z] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-m3my0pk36z] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* _content/HerbRecognition_Web/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ln6j87ibqj] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-ln6j87ibqj] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-ln6j87ibqj] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-ln6j87ibqj] {
    font-size: 1.1rem;
}

.bi[b-ln6j87ibqj] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-ln6j87ibqj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-ln6j87ibqj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-ln6j87ibqj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-ln6j87ibqj] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ln6j87ibqj] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ln6j87ibqj] {
        padding-bottom: 1rem;
    }

    .nav-item[b-ln6j87ibqj]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-ln6j87ibqj]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-ln6j87ibqj]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-ln6j87ibqj] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-ln6j87ibqj] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-ln6j87ibqj] {
        display: none;
    }

    .nav-scrollable[b-ln6j87ibqj] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/HerbRecognition_Web/Components/Pages/Home.razor.rz.scp.css */
/* =========================
   HERO
   ========================= */

.hero[b-b6nzftbmvh] {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    background: radial-gradient( circle at 80% 30%, rgba(143, 177, 142, 0.18), transparent 35% );
}

.hero-content[b-b6nzftbmvh] {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 32px;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 80px;
    align-items: center;
}

.hero-text[b-b6nzftbmvh] {
    max-width: 600px;
}

.hero-label[b-b6nzftbmvh],
.section-label[b-b6nzftbmvh] {
    display: inline-block;
    margin-bottom: 20px;
    color: #52745a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.hero h1[b-b6nzftbmvh] {
    margin: 0;
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    line-height: 0.95;
    letter-spacing: -0.065em;
    font-weight: 700;
}

    .hero h1 span[b-b6nzftbmvh] {
        display: block;
        color: #52745a;
    }

.hero-description[b-b6nzftbmvh] {
    max-width: 540px;
    margin: 32px 0 0;
    color: #536158;
    font-size: 1.1rem;
    line-height: 1.7;
}

    .hero-description.secondary[b-b6nzftbmvh] {
        margin-top: 12px;
        font-size: 0.95rem;
    }

.hero-actions[b-b6nzftbmvh] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
}

.primary-button[b-b6nzftbmvh],
.secondary-button[b-b6nzftbmvh] {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-button[b-b6nzftbmvh] {
    color: white;
    background: #315c3e;
}

    .primary-button:hover[b-b6nzftbmvh] {
        background: #264c32;
        transform: translateY(-2px);
    }

.secondary-button[b-b6nzftbmvh] {
    color: #315c3e;
    border: 1px solid #cbd5ca;
}

    .secondary-button:hover[b-b6nzftbmvh] {
        background: #e9eee8;
    }


/* =========================
   HERO IMAGE
   ========================= */

.hero-image-wrapper[b-b6nzftbmvh] {
    position: relative;
    height: 580px;
}

.hero-image[b-b6nzftbmvh] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 180px 180px 16px 16px;
    position: relative;
    z-index: 2;
}

.image-decoration[b-b6nzftbmvh] {
    position: absolute;
    width: 100%;
    height: 100%;
    right: -20px;
    bottom: -20px;
    border: 1px solid #b7c7b7;
    border-radius: 180px 180px 16px 16px;
    z-index: 1;
}


/* =========================
   ABOUT
   ========================= */

.about-section[b-b6nzftbmvh] {
    padding: 120px 32px;
    background: #eaf0e8;
}

.about-content[b-b6nzftbmvh] {
    max-width: 800px;
    margin: 0 auto;
}

    .about-content h2[b-b6nzftbmvh] {
        margin: 0;
        font-size: clamp(2.5rem, 5vw, 4.5rem);
        line-height: 1;
        letter-spacing: -0.05em;
    }

    .about-content p[b-b6nzftbmvh] {
        max-width: 650px;
        margin-top: 32px;
        color: #536158;
        font-size: 1.05rem;
        line-height: 1.8;
    }


/* =========================
   FOOTER
   ========================= */

.footer[b-b6nzftbmvh] {
    background: #1d2b21;
    color: #e8eee8;
}

.footer-content[b-b6nzftbmvh] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 32px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-description[b-b6nzftbmvh] {
    max-width: 500px;
}

    .footer-description h3[b-b6nzftbmvh] {
        margin: 0 0 12px;
        font-size: 1.2rem;
    }

    .footer-description p[b-b6nzftbmvh] {
        margin: 0;
        color: #b7c3b9;
        line-height: 1.6;
    }

.footer-links a[b-b6nzftbmvh] {
    color: #dce8dd;
    text-decoration: none;
    font-weight: 600;
}

    .footer-links a:hover[b-b6nzftbmvh] {
        text-decoration: underline;
    }

.footer-bottom[b-b6nzftbmvh] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 32px;
    border-top: 1px solid #344238;
    color: #8e9b91;
    font-size: 0.85rem;
}


/* =========================
   PLACEHOLDER PAGE
   ========================= */

.placeholder-page[b-b6nzftbmvh] {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

    .placeholder-page h1[b-b6nzftbmvh] {
        margin: 0;
        font-size: 4rem;
        letter-spacing: -0.05em;
    }

    .placeholder-page p[b-b6nzftbmvh] {
        max-width: 500px;
        margin: 24px 0 32px;
        color: #536158;
        line-height: 1.7;
    }
/* _content/HerbRecognition_Web/Components/Pages/PlantById.razor.rz.scp.css */
/* =========================================================
   PLANT DETAILS
   ========================================================= */

.plant-details-page[b-5vi816pf85] {
    min-height: 100vh;
    background: #f6f7f2;
    color: #26352b;
}

.plant-details-container[b-5vi816pf85] {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 40px 0 80px;
}


/* =========================================================
   BACK LINK
   ========================================================= */

.back-link[b-5vi816pf85] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: #55705b;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

    .back-link:hover[b-5vi816pf85] {
        color: #2f5238;
        transform: translateX(-3px);
    }


/* =========================================================
   HERO
   ========================================================= */

.plant-hero[b-5vi816pf85] {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    min-height: 310px;
    padding: 52px 56px;
    margin-bottom: 48px;
    overflow: hidden;
    background: radial-gradient( circle at 90% 10%, rgba(130, 164, 135, 0.22), transparent 35% ), linear-gradient( 135deg, #e7eee5 0%, #f2f4ed 100% );
    border: 1px solid #dce5da;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(46, 66, 51, 0.08);
}

    .plant-hero[b-5vi816pf85]::after {
        content: "🌿";
        position: absolute;
        right: 55px;
        top: 35px;
        font-size: 8rem;
        opacity: 0.08;
        transform: rotate(15deg);
        pointer-events: none;
    }

.plant-hero-main[b-5vi816pf85] {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.plant-type-badge[b-5vi816pf85] {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: #d4e3d2;
    color: #36563d;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plant-hero h1[b-5vi816pf85] {
    margin: 0;
    color: #24372a;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    font-weight: 750;
}

.plant-common-name[b-5vi816pf85] {
    margin: 16px 0 0;
    color: #53675a;
    font-size: 1.25rem;
    font-weight: 500;
}

.plant-latin-name[b-5vi816pf85] {
    margin: 7px 0 0;
    color: #718074;
    font-size: 1.05rem;
    font-style: italic;
}

.plant-subriquet[b-5vi816pf85] {
    display: inline-block;
    margin: 22px 0 0;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 10px;
    color: #526456;
    font-size: 0.95rem;
}

.plant-hero > .plant-id[b-5vi816pf85] {
    position: relative;
    z-index: 1;
    color: #849287;
    font-size: 0.85rem;
    font-weight: 700;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.plant-section[b-5vi816pf85] {
    margin-bottom: 48px;
}

.section-heading[b-5vi816pf85] {
    margin-bottom: 22px;
}

.section-label[b-5vi816pf85] {
    display: block;
    margin-bottom: 7px;
    color: #759078;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.section-heading h2[b-5vi816pf85] {
    margin: 0;
    color: #2c3d31;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}


/* =========================================================
   INFORMATION GRID
   ========================================================= */

.plant-info-grid[b-5vi816pf85] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.info-item[b-5vi816pf85] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 92px;
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid #e5e9e3;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(42, 61, 47, 0.035);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .info-item:hover[b-5vi816pf85] {
        transform: translateY(-2px);
        border-color: #d2ddd0;
        box-shadow: 0 9px 24px rgba(42, 61, 47, 0.07);
    }

.info-label[b-5vi816pf85] {
    margin-bottom: 7px;
    color: #879389;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.info-value[b-5vi816pf85] {
    color: #334438;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
}


/* =========================================================
   SAFETY / POISONABILITY
   ========================================================= */

.poisonability-card[b-5vi816pf85] {
    position: relative;
    padding: 24px 28px 24px 64px;
    background: #fffdf8;
    border: 1px solid #ebe3d1;
    border-radius: 18px;
    box-shadow: 0 5px 18px rgba(80, 67, 43, 0.04);
}

    .poisonability-card[b-5vi816pf85]::before {
        content: "⚠";
        position: absolute;
        left: 24px;
        top: 22px;
        font-size: 1.25rem;
    }

    .poisonability-card p[b-5vi816pf85] {
        margin: 0;
        color: #665c48;
        font-size: 0.98rem;
        line-height: 1.7;
    }


/* =========================================================
   SIMILAR PLANTS
   ========================================================= */

.similar-plants[b-5vi816pf85] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.similar-plant-card[b-5vi816pf85] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 105px;
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid #e2e8e0;
    border-radius: 18px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(42, 61, 47, 0.035);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .similar-plant-card:hover[b-5vi816pf85] {
        transform: translateY(-4px);
        border-color: #bfd0bd;
        box-shadow: 0 12px 28px rgba(42, 61, 47, 0.09);
    }

    .similar-plant-card h3[b-5vi816pf85] {
        margin: 0 0 5px;
        color: #304435;
        font-size: 1rem;
    }

    .similar-plant-card p[b-5vi816pf85] {
        margin: 0;
        color: #89948b;
        font-size: 0.85rem;
        font-style: italic;
    }

    .similar-plant-card > span[b-5vi816pf85] {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        flex-shrink: 0;
        border-radius: 50%;
        background: #edf3eb;
        color: #55725a;
        font-size: 1.1rem;
        transition: background 0.2s ease, transform 0.2s ease;
    }

    .similar-plant-card:hover > span[b-5vi816pf85] {
        background: #dce9da;
        transform: translateX(3px);
    }


/* =========================================================
   LOADING
   ========================================================= */

.plants-status[b-5vi816pf85] {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #66766a;
}

.loading-spinner[b-5vi816pf85] {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border: 4px solid #dce6da;
    border-top-color: #5d7d62;
    border-radius: 50%;
    animation: plant-spin-b-5vi816pf85 0.8s linear infinite;
}

@keyframes plant-spin-b-5vi816pf85 {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   ERROR
   ========================================================= */

.plants-error[b-5vi816pf85] {
    max-width: 600px;
    margin: 100px auto;
    padding: 40px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e5e8e4;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(42, 61, 47, 0.06);
}

    .plants-error h2[b-5vi816pf85] {
        margin: 0 0 10px;
        color: #334638;
    }

    .plants-error p[b-5vi816pf85] {
        margin-bottom: 24px;
        color: #788278;
    }

/* =========================================================
   SIMILAR PLANTS
   ========================================================= */


.section-note[b-5vi816pf85] {
    margin: -4px 0 16px;
    color: #7a857f;
    font-size: 0.9rem;
}

.similar-plant-card.pending[b-5vi816pf85] {
    border-style: dashed;
    border-color: #f1dcb0;
    background: #fffaf0;
    cursor: default;
}

    .similar-plant-card.pending:hover[b-5vi816pf85] {
        transform: none;
        box-shadow: none;
    }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .plant-info-grid[b-5vi816pf85] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .similar-plants[b-5vi816pf85] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .plant-hero[b-5vi816pf85] {
        padding: 42px;
    }
}


@media (max-width: 650px) {

    .plant-details-container[b-5vi816pf85] {
        width: min(100% - 24px, 1180px);
        padding-top: 24px;
    }

    .plant-hero[b-5vi816pf85] {
        min-height: auto;
        padding: 32px 26px;
        border-radius: 22px;
        align-items: flex-start;
    }

        .plant-hero[b-5vi816pf85]::after {
            right: -5px;
            top: 20px;
            font-size: 5rem;
        }

        .plant-hero h1[b-5vi816pf85] {
            font-size: 2.5rem;
        }

        .plant-hero > .plant-id[b-5vi816pf85] {
            position: absolute;
            right: 25px;
            bottom: 22px;
        }

    .plant-info-grid[b-5vi816pf85],
    .similar-plants[b-5vi816pf85] {
        grid-template-columns: 1fr;
    }

    .plant-section[b-5vi816pf85] {
        margin-bottom: 38px;
    }

    .section-heading h2[b-5vi816pf85] {
        font-size: 1.5rem;
    }

    .info-item[b-5vi816pf85] {
        min-height: 80px;
    }

    .poisonability-card[b-5vi816pf85] {
        padding: 22px 22px 22px 56px;
    }
}
/* _content/HerbRecognition_Web/Components/Pages/PlantForm.razor.rz.scp.css */

.submission-page[b-fq1xyeibg3] {
    padding-bottom: 64px;
}

.submission-form[b-fq1xyeibg3] {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.submission-section[b-fq1xyeibg3] {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e2e9df;
    border-radius: 18px;
    box-shadow: 0 5px 18px rgba(35, 60, 39, 0.04);
}

    .submission-section h2[b-fq1xyeibg3] {
        margin: 0 0 22px;
        color: #284631;
        font-size: 1.35rem;
    }

.section-description[b-fq1xyeibg3] {
    margin-top: -12px;
    margin-bottom: 20px;
    color: #68756a;
    font-size: 0.9rem;
}

.submission-grid[b-fq1xyeibg3] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.submission-field[b-fq1xyeibg3] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

    .submission-field label[b-fq1xyeibg3] {
        color: #344538;
        font-size: 0.94rem;
        font-weight: 600;
    }

    .submission-field input[b-fq1xyeibg3],
    .submission-field select[b-fq1xyeibg3] {
        width: 100%;
        min-height: 46px;
        padding: 11px 13px;
        color: #26372a;
        background: #fbfcf9;
        border: 1px solid #d8e1d5;
        border-radius: 9px;
        font: inherit;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

        .submission-field input:focus[b-fq1xyeibg3],
        .submission-field select:focus[b-fq1xyeibg3] {
            outline: none;
            border-color: #547d59;
            box-shadow: 0 0 0 3px rgba(84, 125, 89, 0.13);
        }

        .submission-field input.invalid[b-fq1xyeibg3],
        .submission-field select.invalid[b-fq1xyeibg3] {
            border-color: #c34d4d;
        }

.validation-message[b-fq1xyeibg3] {
    color: #b33a3a;
    font-size: 0.84rem;
}

.validation-errors[b-fq1xyeibg3] {
    padding: 16px 20px;
    color: #8f3030;
    background: #fff4f2;
    border: 1px solid #f0d2cd;
    border-radius: 10px;
}

.submission-actions[b-fq1xyeibg3] {
    display: flex;
    justify-content: flex-end;
    padding-top: 4px;
}

.submission-button[b-fq1xyeibg3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    color: #ffffff;
    background: #365b40;
    border: none;
    border-radius: 10px;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .submission-button:hover:not(:disabled)[b-fq1xyeibg3] {
        background: #284631;
        transform: translateY(-1px);
    }

    .submission-button:disabled[b-fq1xyeibg3] {
        opacity: 0.6;
        cursor: not-allowed;
    }

.submission-success[b-fq1xyeibg3] {
    max-width: 720px;
    margin: 32px auto;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #dce8d8;
    border-radius: 18px;
}

    .submission-success h2[b-fq1xyeibg3] {
        color: #365b40;
    }


.submission-section-toggle[b-fq1xyeibg3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    margin-top: 16px;
    border: 1px solid var(--border-color, #dce3df);
    border-radius: 12px;
    background: var(--card-background, #fff);
}

/* ---------- przełącznik ---------- */
.submission-form .switch-label[b-fq1xyeibg3] {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid #dfe5e1;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-weight: 500;
    user-select: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

    .submission-form .switch-label:hover[b-fq1xyeibg3] {
        border-color: #39815c;
        background: #f6faf8;
    }

    /* ukryty, ale dostępny dla klawiatury i czytników ekranu */
    .submission-form .switch-label input.switch-input[b-fq1xyeibg3] {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: 0;
        padding: 0;
        border: 0;
        opacity: 0;
        pointer-events: none;
    }

    /* tor */
    .submission-form .switch-label .switch-slider[b-fq1xyeibg3] {
        position: relative;
        display: inline-block;
        flex: 0 0 auto;
        width: 44px;
        height: 24px;
        border-radius: 999px;
        background: #b8c1bc;
        transition: background 0.2s ease;
    }

        /* gałka */
        .submission-form .switch-label .switch-slider[b-fq1xyeibg3]::before {
            content: "";
            position: absolute;
            top: 3px;
            left: 3px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
            transition: transform 0.2s ease;
        }

    /* włączony */
    .submission-form .switch-label:has(.switch-input:checked) .switch-slider[b-fq1xyeibg3] {
        background: #39815c;
    }

        .submission-form .switch-label:has(.switch-input:checked) .switch-slider[b-fq1xyeibg3]::before {
            transform: translateX(20px);
        }

    /* fokus z klawiatury */
    .submission-form .switch-label:has(.switch-input:focus-visible) .switch-slider[b-fq1xyeibg3] {
        outline: 2px solid #39815c;
        outline-offset: 3px;
    }

/* przełączniki sekcji (Czy posiada liście? itd.) – trochę wyraźniejsze */
.submission-section-toggle[b-fq1xyeibg3] {
    margin: 8px 0;
}

    .submission-section-toggle .switch-label[b-fq1xyeibg3] {
        font-weight: 600;
    }

/*.switch-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    cursor: pointer;
    font-weight: 500;
}

.switch-input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.switch-slider {
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 24px;
    border-radius: 24px;
    background: #b8c1bc;
    transition: background 0.2s ease;
}

    .switch-slider::before {
        content: "";
        position: absolute;
        width: 18px;
        height: 18px;
        left: 3px;
        top: 3px;
        border-radius: 50%;
        background: white;
        transition: transform 0.2s ease;
        box-shadow: 0 1px 3px #0002;
    }

.switch-label:has(.switch-input:checked) .switch-slider {
    background: #39815c;
}

    .switch-label:has(.switch-input:checked) .switch-slider::before {
        transform: translateX(20px);
    }

.switch-label:has(.switch-input:focus-visible) .switch-slider {
    outline: 2px solid #39815c;
    outline-offset: 3px;
}
*/

@media (max-width: 640px) {
    .submission-section[b-fq1xyeibg3] {
        padding: 20px 16px;
        border-radius: 14px;
    }

    .submission-grid[b-fq1xyeibg3] {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .submission-section h2[b-fq1xyeibg3] {
        font-size: 1.2rem;
    }

    .submission-actions[b-fq1xyeibg3],
    .submission-actions .submission-button[b-fq1xyeibg3] {
        width: 100%;
    }
}
/* _content/HerbRecognition_Web/Components/Pages/Plants.razor.rz.scp.css */

/* =========================
   PLANTS PAGE
   ========================= */

.plants-page[b-v0el3w6ct1] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 32px 120px;
}

.plants-header[b-v0el3w6ct1] {
    margin-bottom: 60px;
}

    .plants-header h1[b-v0el3w6ct1] {
        margin: 0;
        font-size: clamp(3rem, 6vw, 5rem);
        line-height: 1;
        letter-spacing: -0.06em;
    }

    .plants-header p[b-v0el3w6ct1] {
        max-width: 600px;
        margin-top: 24px;
        color: #536158;
        font-size: 1.1rem;
        line-height: 1.7;
    }


/* =========================
   GRID
   ========================= */

.plants-grid[b-v0el3w6ct1] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


/* =========================
   CARD
   ========================= */

.plant-card[b-v0el3w6ct1] {
    min-height: 310px;
    background: #ffffff;
    border: 1px solid #e0e6df;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .plant-card:hover[b-v0el3w6ct1] {
        transform: translateY(-5px);
        border-color: #b7c7b7;
        box-shadow: 0 18px 40px rgba(29, 43, 33, 0.08);
    }

.plant-card-content[b-v0el3w6ct1] {
    height: 100%;
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.plant-card-top[b-v0el3w6ct1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.plant-type[b-v0el3w6ct1] {
    padding: 6px 10px;
    border-radius: 20px;
    background: #eaf0e8;
    color: #52745a;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.plant-pills[b-v0el3w6ct1] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.plant-type.plant-month[b-v0el3w6ct1],
.plant-type-badge.plant-month[b-v0el3w6ct1] {
    background: #fdf3e1;
    color: #9a6a12;
    border-color: #f1dcb0;
}

.plant-id[b-v0el3w6ct1] {
    color: #a0aaa2;
    font-size: 0.8rem;
}

.plant-card h2[b-v0el3w6ct1] {
    margin: 0;
    color: #1d2b21;
    font-size: 1.7rem;
    letter-spacing: -0.03em;
}

.plant-name[b-v0el3w6ct1] {
    margin: 5px 0 0;
    color: #536158;
    font-size: 1rem;
}

.plant-latin[b-v0el3w6ct1] {
    margin: 18px 0 0;
    color: #7a857c;
    font-family: Georgia, serif;
    font-size: 0.95rem;
    font-style: italic;
}

.plant-subriquet[b-v0el3w6ct1] {
    margin: 10px 0 0;
    color: #7a857c;
    font-size: 0.85rem;
}

.plant-card-link[b-v0el3w6ct1] {
    margin-top: auto;
    padding-top: 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #315c3e;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
}

    .plant-card-link span[b-v0el3w6ct1] {
        transition: transform 0.2s ease;
    }

.plant-card:hover .plant-card-link span[b-v0el3w6ct1] {
    transform: translateX(5px);
}


/* =========================
   LOADING
   ========================= */

.plants-status[b-v0el3w6ct1] {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #536158;
}

.loading-spinner[b-v0el3w6ct1] {
    width: 38px;
    height: 38px;
    margin-bottom: 20px;
    border: 3px solid #dfe6df;
    border-top-color: #52745a;
    border-radius: 50%;
    animation: spin-b-v0el3w6ct1 0.8s linear infinite;
}

@keyframes spin-b-v0el3w6ct1 {
    to {
        transform: rotate(360deg);
    }
}


/* =========================
   ERROR
   ========================= */

.plants-error[b-v0el3w6ct1] {
    padding: 40px;
    border: 1px solid #e2caca;
    border-radius: 12px;
    background: #faf2f2;
    text-align: center;
}

    .plants-error h2[b-v0el3w6ct1] {
        margin-top: 0;
    }

    .plants-error p[b-v0el3w6ct1] {
        color: #795454;
    }

    .plants-error button[b-v0el3w6ct1] {
        padding: 10px 18px;
        border: none;
        border-radius: 7px;
        background: #315c3e;
        color: white;
        cursor: pointer;
        font-weight: 600;
    }


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 950px) {
    .plants-grid[b-v0el3w6ct1] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .plants-page[b-v0el3w6ct1] {
        padding: 60px 20px 80px;
    }

    .plants-grid[b-v0el3w6ct1] {
        grid-template-columns: 1fr;
    }
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 800px) {

    .top-bar-content[b-v0el3w6ct1] {
        padding: 0 20px;
    }

    .hero-content[b-v0el3w6ct1] {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 70px 24px;
    }

    .hero-image-wrapper[b-v0el3w6ct1] {
        height: 400px;
    }

    .hero h1[b-v0el3w6ct1] {
        font-size: 4rem;
    }

    .footer-content[b-v0el3w6ct1] {
        flex-direction: column;
        padding: 50px 24px;
    }

    .footer-bottom[b-v0el3w6ct1] {
        padding: 20px 24px;
    }
}

@media (max-width: 500px) {

    .main-nav[b-v0el3w6ct1] {
        gap: 12px;
    }

    .hero-actions[b-v0el3w6ct1] {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero h1[b-v0el3w6ct1] {
        font-size: 3.2rem;
    }
}
/* _content/HerbRecognition_Web/Components/Pages/SearchByForm.razor.rz.scp.css */

/* ---------- nagłówek wyników ---------- */
.search-results[b-23b0z1ajf8] {
    margin-top: 40px;
}

.search-results-title[b-23b0z1ajf8] {
    margin: 0;
    color: #1b2a21;
    font-size: 1.75rem;
    outline: none;
    scroll-margin-top: 24px;
}

.search-results-meta[b-23b0z1ajf8] {
    margin: 6px 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #dfe5e1;
    color: #7a857f;
    font-size: 0.9rem;
}

/* ---------- siatka kart ---------- */
.plants-grid[b-23b0z1ajf8] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    align-items: stretch;
}

/* ---------- karta ---------- */
.plant-card[b-23b0z1ajf8] {
    position: relative;
    display: flex;
    background: #fff;
    border: 1px solid #dfe5e1;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(27, 42, 33, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .plant-card:hover[b-23b0z1ajf8] {
        transform: translateY(-2px);
        border-color: #b9d3c3;
        box-shadow: 0 10px 24px rgba(27, 42, 33, 0.08);
    }

    /* najlepsze dopasowanie wyróżnione zielonym paskiem z lewej */
    .plant-card:first-child[b-23b0z1ajf8] {
        border-color: #9cc5ab;
        box-shadow: inset 4px 0 0 #39815c, 0 2px 8px rgba(27, 42, 33, 0.04);
    }

        .plant-card:first-child:hover[b-23b0z1ajf8] {
            box-shadow: inset 4px 0 0 #39815c, 0 10px 24px rgba(27, 42, 33, 0.08);
        }

    /* zgłoszenie czekające na weryfikację */
    .plant-card.pending[b-23b0z1ajf8] {
        background: #fffaf0;
        border-style: dashed;
        border-color: #f1dcb0;
    }

.plant-card-content[b-23b0z1ajf8] {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px 22px;
}

/* ---------- górny rząd: procent, typ, numer ---------- */
.plant-card-top[b-23b0z1ajf8] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.plant-pills[b-23b0z1ajf8] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.plant-type[b-23b0z1ajf8] {
    padding: 3px 10px;
    border: 1px solid #dfe5e1;
    border-radius: 999px;
    background: #f6faf8;
    color: #3d4a43;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

    .plant-type.plant-pending[b-23b0z1ajf8] {
        border-color: #f1dcb0;
        background: #fdf3e1;
        color: #9a6a12;
    }

.plant-id[b-23b0z1ajf8] {
    flex: 0 0 auto;
    color: #9aa39e;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ---------- procent dopasowania ---------- */
.match-badge[b-23b0z1ajf8] {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

    .match-badge.high[b-23b0z1ajf8] {
        background: #e3f0e8;
        color: #2f6c4d;
    }

    .match-badge.medium[b-23b0z1ajf8] {
        background: #fdf3e1;
        color: #9a6a12;
    }

    .match-badge.low[b-23b0z1ajf8] {
        background: #eef1ef;
        color: #5f6b65;
    }

/* ---------- nazwy ---------- */
.plant-card h2[b-23b0z1ajf8] {
    margin: 0;
    color: #1b2a21;
    font-size: 1.3rem;
    line-height: 1.25;
}

.plant-name[b-23b0z1ajf8] {
    margin: 4px 0 0;
    color: #3d4a43;
    font-size: 0.95rem;
}

.plant-latin[b-23b0z1ajf8] {
    margin: 2px 0 0;
    color: #7a857f;
    font-size: 0.9rem;
    font-style: italic;
}

.plant-subriquet[b-23b0z1ajf8] {
    margin: 8px 0 0;
    color: #7a857f;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ---------- pasek dopasowania ---------- */
.match-bar[b-23b0z1ajf8] {
    height: 6px;
    margin-top: 18px;
    border-radius: 999px;
    background: #eef1ef;
    overflow: hidden;
}

    .match-bar span[b-23b0z1ajf8] {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, #5aa57d, #2f6c4d);
        transition: width 0.4s ease;
    }

.plant-card.pending .match-bar span[b-23b0z1ajf8] {
    background: linear-gradient(90deg, #e2b25c, #c08a2b);
}

.match-details[b-23b0z1ajf8] {
    margin: 6px 0 0;
    color: #7a857f;
    font-size: 0.8rem;
}

/* ---------- stopka karty ---------- */
.plant-card-link[b-23b0z1ajf8] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-top: 16px;
    padding: 8px 14px;
    border: 1px solid #2f6243;
    border-radius: 8px;
    color: #2f6243;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

    .plant-card-link:hover[b-23b0z1ajf8] {
        background: #2f6243;
        color: #fff;
    }

    .plant-card-link span[b-23b0z1ajf8] {
        transition: transform 0.2s ease;
    }

    .plant-card-link:hover span[b-23b0z1ajf8] {
        transform: translateX(3px);
    }

.plant-card-note[b-23b0z1ajf8] {
    margin: 16px 0 0;
    color: #9a6a12;
    font-size: 0.85rem;
}

/* ---------- brak wyników / pusty formularz ---------- */
.plants-status[b-23b0z1ajf8] {
    padding: 32px;
    border: 1px dashed #c9d6ce;
    border-radius: 14px;
    background: #fff;
    text-align: center;
}

    .plants-status h2[b-23b0z1ajf8] {
        margin: 0 0 8px;
        color: #1b2a21;
        font-size: 1.25rem;
    }

    .plants-status p[b-23b0z1ajf8] {
        margin: 0 auto 16px;
        max-width: 520px;
        color: #5f6b65;
    }

.plant-form-button[b-23b0z1ajf8] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 8px;
    background: #2f6243;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

    .plant-form-button:hover[b-23b0z1ajf8] {
        background: #244e35;
    }

/* ---------- telefon ---------- */
@media (max-width: 600px) {
    .plants-grid[b-23b0z1ajf8] {
        grid-template-columns: 1fr;
    }

    .plant-card-content[b-23b0z1ajf8] {
        padding: 18px;
    }

    .search-results-title[b-23b0z1ajf8] {
        font-size: 1.5rem;
    }
}
/* _content/HerbRecognition_Web/Components/Pages/SearchByName.razor.rz.scp.css */
/* ================================
   SEARCH PAGE
   ================================ */

.plants-page[b-84099gqg2u] {
    min-height: 100vh;
    padding: 80px 35px 70px;
    background: #f8f9f5;
    color: #17251d;
}


/* ================================
   HEADER
   ================================ */

.plants-header[b-84099gqg2u] {
    max-width: 1100px;
    margin: 0 auto 55px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-label[b-84099gqg2u] {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #174d3a;
}

.plants-header h1[b-84099gqg2u] {
    margin: 0;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.045em;
    color: #18261e;
}

.plants-header > div > p[b-84099gqg2u] {
    margin: 25px 0 0;
    font-size: 18px;
    line-height: 1.6;
    color: #48675a;
}

    .plants-header > div > p strong[b-84099gqg2u] {
        color: #18261e;
        font-weight: 600;
    }


/* ================================
   GRID
   ================================ */

.plants-grid[b-84099gqg2u] {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


/* ================================
   PLANT CARD
   ================================ */

.plant-card[b-84099gqg2u] {
    min-height: 310px;
    background: #ffffff;
    border: 1px solid #dfe5df;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

    .plant-card:hover[b-84099gqg2u] {
        transform: translateY(-3px);
        border-color: #c8d5cb;
        box-shadow: 0 10px 30px rgba(23, 52, 38, 0.07);
    }

.plant-card-content[b-84099gqg2u] {
    height: 100%;
    min-height: 310px;
    padding: 28px;
    display: flex;
    flex-direction: column;
}


/* ================================
   CARD TOP
   ================================ */

.plant-card-top[b-84099gqg2u] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.plant-type[b-84099gqg2u] {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #eaf1eb;
    color: #27634b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plant-id[b-84099gqg2u] {
    color: #8b9991;
    font-size: 13px;
    font-weight: 400;
}


/* ================================
   CARD TYPOGRAPHY
   ================================ */

.plant-card h2[b-84099gqg2u] {
    margin: 0 0 6px;
    color: #101d16;
    font-size: 27px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.plant-name[b-84099gqg2u] {
    margin: 0 0 18px;
    color: #567165;
    font-size: 16px;
    line-height: 1.4;
}

.plant-latin[b-84099gqg2u] {
    margin: 0;
    color: #718279;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-style: italic;
    line-height: 1.5;
}

.plant-subriquet[b-84099gqg2u] {
    margin: 12px 0 0;
    color: #6f7e76;
    font-size: 14px;
    font-style: italic;
    line-height: 1.5;
}


/* ================================
   CARD LINK
   ================================ */

.plant-card-link[b-84099gqg2u] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-top: auto;
    padding-top: 28px;
    color: #145c43;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

    .plant-card-link span[b-84099gqg2u] {
        font-size: 20px;
        line-height: 1;
        transition: transform 0.2s ease;
    }

    .plant-card-link:hover[b-84099gqg2u] {
        color: #0d402e;
    }

        .plant-card-link:hover span[b-84099gqg2u] {
            transform: translateX(4px);
        }


/* ================================
   STATUS / LOADING
   ================================ */

.plants-status[b-84099gqg2u] {
    max-width: 1100px;
    min-height: 260px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #52685d;
}

    .plants-status h2[b-84099gqg2u] {
        margin: 0 0 10px;
        color: #18261e;
        font-size: 28px;
        font-weight: 500;
    }

    .plants-status p[b-84099gqg2u] {
        margin: 0;
        font-size: 16px;
        line-height: 1.6;
    }

    .plants-status strong[b-84099gqg2u] {
        color: #18261e;
    }


/* ================================
   LOADING SPINNER
   ================================ */

.loading-spinner[b-84099gqg2u] {
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border: 3px solid #dce6df;
    border-top-color: #27634b;
    border-radius: 50%;
    animation: spin-b-84099gqg2u 0.8s linear infinite;
}

@keyframes spin-b-84099gqg2u {
    to {
        transform: rotate(360deg);
    }
}


/* ================================
   ERROR
   ================================ */

.plants-error[b-84099gqg2u] {
    max-width: 650px;
    margin: 50px auto;
    padding: 35px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #ead8d5;
    border-radius: 16px;
}

    .plants-error h2[b-84099gqg2u] {
        margin: 0 0 10px;
        color: #713d37;
        font-size: 25px;
        font-weight: 500;
    }

    .plants-error p[b-84099gqg2u] {
        margin: 0;
        color: #765e59;
        font-size: 16px;
        line-height: 1.6;
    }


/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 900px) {

    .plants-page[b-84099gqg2u] {
        padding: 60px 25px;
    }

    .plants-grid[b-84099gqg2u] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .plants-header h1[b-84099gqg2u] {
        font-size: 58px;
    }
}


@media (max-width: 620px) {

    .plants-page[b-84099gqg2u] {
        padding: 45px 18px 50px;
    }

    .plants-header[b-84099gqg2u] {
        margin-bottom: 40px;
    }

        .plants-header h1[b-84099gqg2u] {
            font-size: 44px;
        }

        .plants-header > div > p[b-84099gqg2u] {
            font-size: 16px;
        }

    .plants-grid[b-84099gqg2u] {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .plant-card[b-84099gqg2u],
    .plant-card-content[b-84099gqg2u] {
        min-height: 280px;
    }

    .plant-card-content[b-84099gqg2u] {
        padding: 24px;
    }

    .plant-card h2[b-84099gqg2u] {
        font-size: 25px;
    }
}
/* _content/HerbRecognition_Web/Components/Shared/ColorSelect.razor.rz.scp.css */
.color-select[b-bh8xr5jlbb] {
    position: relative;
    width: 100%;
}

.color-select-trigger[b-bh8xr5jlbb] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dfe5e1;
    border-radius: 8px;
    background: #fff;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

    .color-select-trigger:hover[b-bh8xr5jlbb],
    .color-select.open .color-select-trigger[b-bh8xr5jlbb] {
        border-color: #39815c;
    }

    .color-select-trigger:focus-visible[b-bh8xr5jlbb] {
        outline: 2px solid #39815c;
        outline-offset: 2px;
    }

.color-select-placeholder[b-bh8xr5jlbb] {
    color: #7a857f;
}

.color-select-arrow[b-bh8xr5jlbb] {
    margin-left: auto;
    color: #7a857f;
    transition: transform 0.2s ease;
}

.color-select.open .color-select-arrow[b-bh8xr5jlbb] {
    transform: rotate(180deg);
}

/* niewidoczna warstwa – kliknięcie poza listą ją zamyka */
.color-select-backdrop[b-bh8xr5jlbb] {
    position: fixed;
    inset: 0;
    z-index: 10;
}

.color-select-list[b-bh8xr5jlbb] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 11;
    max-height: 280px;
    overflow-y: auto;
    padding: 4px;
    background: #fff;
    border: 1px solid #dfe5e1;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.color-select-option[b-bh8xr5jlbb] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: none;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

    .color-select-option:hover[b-bh8xr5jlbb],
    .color-select-option:focus-visible[b-bh8xr5jlbb] {
        background: #f0f6f2;
        outline: none;
    }

    .color-select-option.selected[b-bh8xr5jlbb] {
        background: #e3f0e8;
        font-weight: 600;
    }

.color-swatch[b-bh8xr5jlbb] {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2); /* widoczne też dla White/Cream */
}

    /* szachownica dla "Transparent" */
    .color-swatch.transparent[b-bh8xr5jlbb] {
        background-color: #fff;
        background-image: linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(-45deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(-45deg, transparent 75%, #ccc 75%);
        background-size: 8px 8px;
        background-position: 0 0, 0 4px, 4px -4px, -4px 0;
    }
/* _content/HerbRecognition_Web/Components/Shared/PlantSubmissionForm.razor.rz.scp.css */

.submission-page[b-0gf5y9begx] {
    padding-bottom: 64px;
}

.submission-form[b-0gf5y9begx] {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.submission-section[b-0gf5y9begx] {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e2e9df;
    border-radius: 18px;
    box-shadow: 0 5px 18px rgba(35, 60, 39, 0.04);
}

    .submission-section h2[b-0gf5y9begx] {
        margin: 0 0 22px;
        color: #284631;
        font-size: 1.35rem;
    }

.section-description[b-0gf5y9begx] {
    margin-top: -12px;
    margin-bottom: 20px;
    color: #68756a;
    font-size: 0.9rem;
}

.submission-grid[b-0gf5y9begx] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.submission-field[b-0gf5y9begx] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

    .submission-field label[b-0gf5y9begx] {
        color: #344538;
        font-size: 0.94rem;
        font-weight: 600;
    }

    .submission-field input[b-0gf5y9begx],
    .submission-field select[b-0gf5y9begx] {
        width: 100%;
        min-height: 46px;
        padding: 11px 13px;
        color: #26372a;
        background: #fbfcf9;
        border: 1px solid #d8e1d5;
        border-radius: 9px;
        font: inherit;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

        .submission-field input:focus[b-0gf5y9begx],
        .submission-field select:focus[b-0gf5y9begx] {
            outline: none;
            border-color: #547d59;
            box-shadow: 0 0 0 3px rgba(84, 125, 89, 0.13);
        }

        .submission-field input.invalid[b-0gf5y9begx],
        .submission-field select.invalid[b-0gf5y9begx] {
            border-color: #c34d4d;
        }

.validation-message[b-0gf5y9begx] {
    color: #b33a3a;
    font-size: 0.84rem;
}

.validation-errors[b-0gf5y9begx] {
    padding: 16px 20px;
    color: #8f3030;
    background: #fff4f2;
    border: 1px solid #f0d2cd;
    border-radius: 10px;
}

.submission-actions[b-0gf5y9begx] {
    display: flex;
    justify-content: flex-end;
    padding-top: 4px;
}

.submission-button[b-0gf5y9begx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    color: #ffffff;
    background: #365b40;
    border: none;
    border-radius: 10px;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .submission-button:hover:not(:disabled)[b-0gf5y9begx] {
        background: #284631;
        transform: translateY(-1px);
    }

    .submission-button:disabled[b-0gf5y9begx] {
        opacity: 0.6;
        cursor: not-allowed;
    }

.submission-success[b-0gf5y9begx] {
    max-width: 720px;
    margin: 32px auto;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #dce8d8;
    border-radius: 18px;
}

    .submission-success h2[b-0gf5y9begx] {
        color: #365b40;
    }


.submission-section-toggle[b-0gf5y9begx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    margin-top: 16px;
    border: 1px solid var(--border-color, #dce3df);
    border-radius: 12px;
    background: var(--card-background, #fff);
}

@media (max-width: 640px) {
    .submission-section[b-0gf5y9begx] {
        padding: 20px 16px;
        border-radius: 14px;
    }

    .submission-grid[b-0gf5y9begx] {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .submission-section h2[b-0gf5y9begx] {
        font-size: 1.2rem;
    }

    .submission-actions[b-0gf5y9begx],
    .submission-actions .submission-button[b-0gf5y9begx] {
        width: 100%;
    }
}
/* _content/HerbRecognition_Web/Components/Shared/SearchBar.razor.rz.scp.css */
.search-bar[b-s2912zf61t] {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 520px;
    margin-top: 10px;
}

    .search-bar input[b-s2912zf61t] {
        flex: 1;
        height: 48px;
        padding: 0 16px;
        border: 1px solid #bfc9c1;
        border-right: none;
        border-radius: 8px 0 0 8px;
        background: #ffffff;
        color: #1b2a21;
        font-family: inherit;
        font-size: 16px;
        outline: none;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

        .search-bar input[b-s2912zf61t]::placeholder {
            color: #78857d;
        }

        .search-bar input:focus[b-s2912zf61t] {
            border-color: #477457;
            box-shadow: 0 0 0 3px rgba(71, 116, 87, 0.12);
        }

    .search-bar button[b-s2912zf61t] {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 48px;
        padding: 0;
        border: 1px solid #2f6243;
        border-radius: 0 8px 8px 0;
        background: #2f6243;
        color: #ffffff;
        font-size: 19px;
        cursor: pointer;
        transition: background-color 0.2s ease, border-color 0.2s ease;
    }

        .search-bar button:hover[b-s2912zf61t] {
            background: #244e35;
            border-color: #244e35;
        }

        .search-bar button:active[b-s2912zf61t] {
            background: #1d422c;
        }


.search-bar-wrap[b-s2912zf61t] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 520px;
}

.search-form-link[b-s2912zf61t] {
    width: fit-content;
    color: #2f6243;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

    .search-form-link:hover[b-s2912zf61t] {
        text-decoration: underline;
    }


/* Mobile */

@media (max-width: 600px) {

    .search-bar[b-s2912zf61t] {
        max-width: 100%;
    }

        .search-bar input[b-s2912zf61t] {
            font-size: 15px;
        }

        .search-bar button[b-s2912zf61t] {
            width: 48px;
        }
}
/* _content/HerbRecognition_Web/Components/Shared/SimilarPlantPicker.razor.rz.scp.css */
.similar-picker[b-4tfed148pk] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ---------- wybrane ---------- */
.similar-chips[b-4tfed148pk] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.similar-chip[b-4tfed148pk] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 6px 6px 12px;
    border: 1px solid #c9e0d2;
    border-radius: 999px;
    background: #e3f0e8;
    color: #2f6c4d;
    font-weight: 600;
    font-size: 0.9rem;
}

    .similar-chip.pending[b-4tfed148pk] {
        border-color: #f1dcb0;
        background: #fdf3e1;
        color: #9a6a12;
    }

    .similar-chip small[b-4tfed148pk] {
        font-weight: 500;
        opacity: 0.8;
    }

    .similar-chip button[b-4tfed148pk] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 22px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.06);
        color: inherit;
        font-size: 1rem;
        line-height: 1;
        cursor: pointer;
    }

        .similar-chip button:hover[b-4tfed148pk] {
            background: rgba(0, 0, 0, 0.14);
        }

/* ---------- wyszukiwanie ---------- */
.similar-search[b-4tfed148pk] {
    position: relative;
}

    .similar-search input[b-4tfed148pk] {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #dfe5e1;
        border-radius: 8px;
        background: #fff;
        font: inherit;
        color: inherit;
        box-sizing: border-box;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

        .similar-search input:hover[b-4tfed148pk] {
            border-color: #39815c;
        }

        .similar-search input:focus[b-4tfed148pk] {
            outline: none;
            border-color: #39815c;
            box-shadow: 0 0 0 3px rgba(57, 129, 92, 0.15);
        }

        .similar-search input:disabled[b-4tfed148pk] {
            background: #f3f5f4;
            cursor: not-allowed;
        }

.similar-backdrop[b-4tfed148pk] {
    position: fixed;
    inset: 0;
    z-index: 10;
}

.similar-results[b-4tfed148pk] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 11;
    max-height: 300px;
    overflow-y: auto;
    padding: 4px;
    background: #fff;
    border: 1px solid #dfe5e1;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.similar-option[b-4tfed148pk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: none;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

    .similar-option:hover:not(:disabled)[b-4tfed148pk],
    .similar-option:focus-visible[b-4tfed148pk] {
        background: #f0f6f2;
        outline: none;
    }

    .similar-option:disabled[b-4tfed148pk] {
        opacity: 0.55;
        cursor: default;
    }

.similar-option-names[b-4tfed148pk] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .similar-option-names span[b-4tfed148pk] {
        font-size: 0.85rem;
        color: #7a857f;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.similar-badge[b-4tfed148pk] {
    flex: 0 0 auto;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

    .similar-badge.approved[b-4tfed148pk] {
        background: #e3f0e8;
        color: #2f6c4d;
    }

    .similar-badge.pending[b-4tfed148pk] {
        background: #fdf3e1;
        color: #9a6a12;
    }

.similar-info[b-4tfed148pk] {
    padding: 10px;
    color: #7a857f;
}

    .similar-info.error[b-4tfed148pk] {
        color: #c0392b;
    }

.similar-limit[b-4tfed148pk] {
    margin: 0;
    font-size: 0.85rem;
    color: #7a857f;
}
