/* ============================================
   AIHerd Vision OS — Farms page
   Scoped under .farms-page to avoid side effects
   ============================================ */

.hidden {
    display: none;
}

/* Theme switcher — desktop (pill with 3 buttons) */
.theme-switcher-desktop {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 3px;
    gap: 2px;
}

.theme-switcher-desktop button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.theme-switcher-desktop button:hover {
    color: rgba(255, 255, 255, 0.9);
}

.theme-switcher-desktop button.active {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.96);
}

/* Theme switcher — mobile (single cycle button) */
.theme-switcher-mobile {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.theme-switcher-mobile:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 576px) {
    .farms-page .theme-switcher-desktop {
        display: none;
    }

    .farms-page .theme-switcher-mobile {
        display: flex;
    }

    .farms-page .farms-topbar h1 {
        font-size: 1.25rem;
    }

    .farms-page .farms-container {
        padding: 1.5rem;
    }
}


.password-field {
    display: flex;
    flex-direction: row;
    position: relative;
}

.password-field button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    color: #1F2937;
    border-color: transparent;
    background-color: transparent;
    color: #fff;
}

.help {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}