/*
Theme Name: Walker County Beekeepers Theme
Theme URI: https://walkercountybeekeepers.org
Description: A comprehensive WordPress theme for beekeeping associations featuring member dashboards, hive inspection tracking, AI-powered Bee Bot assistant, foraging reports, swarm rescue coordination, educational resources, and mobile-friendly beginner's guide. Perfect for beekeeping clubs and associations.
Version: 3.9
Author: Walker County Beekeepers Association
Author URI: https://walkercountybeekeepers.org
Tags: beekeeping, community, education, members-only, dashboard, honey, bees, agriculture
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wcba-theme

Walker County Beekeepers Theme - A complete solution for beekeeping associations with member management, hive tracking, educational resources, and community features.
*/

:root {
    --bee-yellow: #FFB800;
    --bee-gold: #F4A623;
    --bee-amber: #FFCC33;
    --bee-black: #2C2416;
    --honeycomb: #FFF4CC;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #fff9e6 0%, #ffe8a3 25%, #fff9e6 50%, #ffe8a3 75%, #fff9e6 100%);
    background-size: 400% 400%;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Honeycomb Pattern Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(30deg, var(--honeycomb) 12%, transparent 12.5%, transparent 87%, var(--honeycomb) 87.5%, var(--honeycomb)),
        linear-gradient(150deg, var(--honeycomb) 12%, transparent 12.5%, transparent 87%, var(--honeycomb) 87.5%, var(--honeycomb)),
        linear-gradient(30deg, var(--honeycomb) 12%, transparent 12.5%, transparent 87%, var(--honeycomb) 87.5%, var(--honeycomb)),
        linear-gradient(150deg, var(--honeycomb) 12%, transparent 12.5%, transparent 87%, var(--honeycomb) 87.5%, var(--honeycomb));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

/* Flying Bees Animation */
.bee {
    position: fixed;
    font-size: 2rem;
    z-index: 1000;
    pointer-events: none;
    animation: fly 15s infinite linear;
}

.bee:nth-child(2) {
    animation-duration: 18s;
    animation-delay: 3s;
    top: 60%;
}

.bee:nth-child(3) {
    animation-duration: 20s;
    animation-delay: 7s;
    top: 30%;
}

@keyframes fly {
    0% {
        left: -50px;
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-100px) rotate(10deg);
    }
    50% {
        transform: translateY(-50px) rotate(-10deg);
    }
    75% {
        transform: translateY(-80px) rotate(5deg);
    }
    100% {
        left: calc(100% + 50px);
        transform: translateY(0) rotate(0deg);
    }
}

/* Header Styles */
.site-header {
    background: var(--bee-gold);
    padding: 1rem 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
    overflow: visible;
    min-height: 80px;
}

/* Make header sticky after initial load */
.site-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

/* Video Background Container */
.header-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

/* Video Background */
.header-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

/* Dark overlay for text legibility */
.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.header-wrapper {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Enhanced text shadows for legibility over video */
.header-wrapper a,
.header-wrapper span,
.header-wrapper button {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8),
                 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Logo Section */
.header-logo {
    display: flex;
    align-items: center;
    order: 1;
}

.header-logo .custom-logo-link {
    display: block;
    max-width: 100px;
}

.header-logo img {
    height: auto;
    max-height: 100px;
    max-width: 100px;
    width: auto;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Bee Hamburger Menu (Hidden on Desktop) */
.bee-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    width: 50px;
    height: 50px;
    order: 4;
}

.bee-hamburger {
    position: relative;
    width: 40px;
    height: 40px;
}

.bee-body {
    width: 30px;
    height: 30px;
    background: var(--bee-amber);
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 6px 3px;
    transition: all 0.3s ease;
}

.bee-stripe {
    width: 100%;
    height: 3px;
    background: var(--bee-black);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.bee-wings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wing {
    position: absolute;
    width: 18px;
    height: 25px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50% 50% 50% 0;
    transition: all 0.3s ease;
}

.wing-left {
    top: 5px;
    left: -8px;
    transform: rotate(-30deg);
}

.wing-right {
    top: 5px;
    right: -8px;
    transform: rotate(30deg) scaleX(-1);
}

/* Bee Animation on Toggle */
.bee-menu-toggle[aria-expanded="true"] .bee-body {
    background: var(--bee-yellow);
    transform: rotate(180deg);
}

.bee-menu-toggle[aria-expanded="true"] .wing-left {
    transform: rotate(-60deg);
    animation: flap 0.3s ease-in-out;
}

.bee-menu-toggle[aria-expanded="true"] .wing-right {
    transform: rotate(60deg) scaleX(-1);
    animation: flap 0.3s ease-in-out;
}

@keyframes flap {
    0%, 100% { transform: rotate(-30deg); }
    50% { transform: rotate(-60deg); }
}

/* Navigation Menu (Desktop Center) */
.main-nav {
    display: flex;
    justify-content: center;
    order: 2;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: block;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
    background: rgba(255, 255, 255, 0.25);
}

/* Hide Home menu item (logo links to home) */
.nav-menu > li.menu-item-type-post_type.menu-item-object-page:first-child,
.nav-menu > li.page_item:first-child {
    display: none;
}

/* Dropdown Menu Styles */
.nav-menu .sub-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bee-gold);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    min-width: 200px;
    margin: 0;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10000;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    width: 100%;
}

.nav-menu .sub-menu a {
    padding: 0.75rem 1.25rem;
    border-radius: 0;
    font-size: 0.95rem;
}

.nav-menu .sub-menu a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: none;
    padding-left: 1.5rem;
}

/* Menu item with submenu indicator */
.nav-menu li.menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 0.8em;
    margin-left: 0.25rem;
}

/* Nested submenus (third level) */
.nav-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 0.5rem;
}

.nav-menu .sub-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Header Actions (Social + Login) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    order: 3;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-icon.facebook:hover { background: #1877F2; }
.social-icon.instagram:hover { background: #E4405F; }
.social-icon.youtube:hover { background: #FF0000; }

.login-link .btn-login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.login-link .btn-login:hover {
    background: white;
    color: var(--bee-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.login-link .btn-login svg {
    width: 16px;
    height: 16px;
}

/* Logout Button */
.login-link .btn-logout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-link .btn-logout:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.login-link .btn-logout svg {
    width: 16px;
    height: 16px;
}

/* Main Content */
.site-content {
    min-height: 60vh;
}

.site-main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

article {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.entry-title {
    color: var(--bee-gold);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.no-content {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 10px;
}

/* Footer Styles */
.site-footer {
    background: var(--bee-black);
    color: white;
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
}

.footer-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
    display: block;
    visibility: visible;
}

.footer-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: var(--bee-gold);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #FFF9E6;
}

.copyright {
    margin-top: 2rem;
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Design - Mobile */
@media (max-width: 992px) {
    /* Hide floating AI chatbot completely on mobile to prevent conflicts */
    .mwai-open-button,
    .mwai-chat-button,
    .mwai-window,
    .mwai-chat,
    .mwai-chatbot-container,
    div[class*="mwai"] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        z-index: -9999 !important;
    }
    
    /* Ensure mobile navigation has highest z-index */
    .site-header {
        z-index: 10000 !important;
        min-height: auto;
        padding: 0.75rem 1rem;
        max-height: 150px;
    }
    
    .main-nav.active {
        z-index: 10001 !important;
        position: relative;
    }
    
    /* Limit video height on mobile */
    .header-video-container {
        height: 150px;
        max-height: 150px;
        position: absolute;
        overflow: hidden;
        top: 0;
        left: 0;
    }
    
    .header-video-bg {
        position: absolute;
        width: 100%;
        height: 150px;
        max-height: 150px;
        object-fit: cover;
        transform: translate(-50%, -50%);
        top: 50%;
        left: 50%;
    }
    
    .header-wrapper {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 0.75rem;
        padding: 0.5rem;
        z-index: 10;
        position: relative;
        max-height: 140px;
    }
    
    /* Logo on left, row 1 */
    .header-logo {
        order: 1;
        grid-column: 1;
        grid-row: 1;
        position: relative;
        z-index: 20;
    }
    
    /* Show bee hamburger menu on right, row 1 */
    .bee-menu-toggle {
        display: block;
        order: 2;
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        position: relative;
        z-index: 20;
    }
    
    /* Social icons under hamburger, row 2 */
    .header-actions {
        order: 3;
        gap: 0.5rem;
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .login-link .btn-login {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Hide desktop navigation */
    .main-nav {
        grid-column: 1 / -1;
        order: 4;
        grid-row: 3;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        margin-top: 0;
    }
    
    .main-nav.active {
        max-height: 600px;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        border-radius: 0;
    }
    
    /* Mobile Submenu Styles */
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bee-gold);
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }
    
    .nav-menu li.menu-item-has-children.open > .sub-menu {
        max-height: 500px;
        padding: 0.5rem 0;
    }
    
    .nav-menu .sub-menu a {
        padding-left: 2rem;
        font-size: 0.9rem;
    }
    
    .nav-menu .sub-menu a:hover {
        padding-left: 2.5rem;
        background: rgba(255, 255, 255, 0.15);
    }
    
    /* Nested submenus on mobile */
    .nav-menu .sub-menu .sub-menu {
        background: rgba(0, 0, 0, 0.15);
        left: 0;
        margin: 0;
    }
    
    .nav-menu .sub-menu .sub-menu a {
        padding-left: 3rem;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {
    .site-header {
        padding: 0.75rem 1rem;
    }
    
    .header-wrapper {
        gap: 0.5rem;
    }
    
    /* Hide login text on very small screens */
    .login-link .btn-login span {
        display: none;
    }
    
    .login-link .btn-login {
        padding: 0.5rem;
        border-radius: 50%;
        width: 35px;
        height: 35px;
    }
    
    .social-links {
        gap: 0.4rem;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .bee-menu-toggle {
        width: 45px;
        height: 45px;
    }
}

/* Desktop Only - Hide Old Mobile Styles */
@media (min-width: 993px) {
    .menu-toggle,
    .header-container {
        display: none;
    }
}

/* Keep footer styles horizontal on mobile */
.footer-menu {
        gap: 1.5rem;
    }
    
    .site-main {
        padding: 1rem;
    }
    
    article {
        padding: 1.5rem;
    }
    
    .bee {
        font-size: 1.5rem;
    }
}

/* Texas Bee Removal Resources Section */
.texas-bee-removal {
    background: #F8F9FA;
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 12px;
    border: 2px solid #D4AF37;
}

.texas-bee-removal h2 {
    color: #8B4513;
    margin-bottom: 1.5rem;
}

.tais-info-box {
    background: #FFF3CD;
    border-left: 4px solid #FF9800;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.tais-info-box h3 {
    color: #8B4513;
    margin-top: 0;
}

.tais-info-box strong {
    color: #D32F2F;
}

.resource-links {
    background: white;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.resource-links h3 {
    color: #8B4513;
    margin-top: 0;
}

.resource-links ul {
    list-style: none;
    padding-left: 0;
}

.resource-links li {
    margin: 1rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.resource-links li::before {
    content: "🔗";
    position: absolute;
    left: 0;
}

.resource-links a {
    color: #0066CC;
    text-decoration: underline;
}

.resource-links a:hover {
    color: #004C99;
}

.tais-contact {
    background: white;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tais-contact h3 {
    color: #8B4513;
    margin-top: 0;
}

.tais-contact ul {
    list-style: none;
    padding-left: 0;
}

.tais-contact li {
    margin: 0.75rem 0;
}

.tais-contact strong {
    color: #8B4513;
}

.tais-contact a {
    color: #0066CC;
    text-decoration: none;
}

.tais-contact a:hover {
    text-decoration: underline;
}

.walker-county-note {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    border-left: 4px solid #2196F3;
}

.walker-county-note h4 {
    color: #8B4513;
    margin-top: 0;
}

.walker-county-list {
    column-count: 2;
    column-gap: 2rem;
    list-style: none;
    padding-left: 0;
}

.walker-county-list li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    break-inside: avoid;
}

.walker-county-list li::before {
    content: "🐝";
    position: absolute;
    left: 0;
}

.list-note {
    font-size: 0.9rem;
    font-style: italic;
    color: #666;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .walker-county-list {
        column-count: 1;
    }
}
/* Beekeeping Course Page Styles */
.beekeeping-course-page .page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.beekeeping-course-page .course-credit {
    font-size: 1.1rem;
    color: #8B4513;
    margin-top: 1rem;
}

.beekeeping-course-page .course-intro {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFEAA7 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.beekeeping-course-page .course-highlights {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.beekeeping-course-page .course-highlights h3 {
    color: #8B4513;
    margin-top: 0;
}

.beekeeping-course-page .course-highlights ul {
    list-style: none;
    padding-left: 0;
}

.beekeeping-course-page .course-highlights li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.beekeeping-course-page .course-highlights li:last-child {
    border-bottom: none;
}

.beekeeping-course-page .course-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.beekeeping-course-page .course-curriculum {
    margin: 3rem 0;
}

.beekeeping-course-page .curriculum-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.beekeeping-course-page .course-modules {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.beekeeping-course-page .course-module {
    background: white;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.beekeeping-course-page .course-module:hover {
    border-color: #D4AF37;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.beekeeping-course-page .intro-module {
    border-color: #D4AF37;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFEAA7 100%);
}

.beekeeping-course-page .module-header {
    background: #8B4513;
    color: white;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.beekeeping-course-page .intro-module .module-header {
    background: #D4AF37;
    color: #2C1810;
}

.beekeeping-course-page .module-number {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
}

.beekeeping-course-page .module-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.beekeeping-course-page .module-content {
    padding: 1.5rem;
}

.beekeeping-course-page .module-description {
    color: #666;
    margin-bottom: 1.5rem;
}

.beekeeping-course-page .module-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.beekeeping-course-page .btn-watch {
    background: #8B4513;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.beekeeping-course-page .btn-watch:hover {
    background: #6D3410;
}

.beekeeping-course-page .btn-download {
    background: #D4AF37;
    color: #2C1810;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.beekeeping-course-page .btn-download:hover {
    background: #C19B2E;
}

.beekeeping-course-page .download-all {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.beekeeping-course-page .download-all h3 {
    color: #8B4513;
    margin-top: 0;
}

.beekeeping-course-page .additional-resources {
    margin: 3rem 0;
}

.beekeeping-course-page .resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.beekeeping-course-page .resource-card {
    background: white;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.beekeeping-course-page .resource-card:hover {
    border-color: #D4AF37;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.beekeeping-course-page .resource-card h3 {
    color: #8B4513;
    margin-top: 0;
}

.beekeeping-course-page .resource-card p {
    color: #666;
}

.beekeeping-course-page .resource-card a {
    color: #0066CC;
}

.beekeeping-course-page .course-cta {
    background: linear-gradient(135deg, #8B4513 0%, #6D3410 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.beekeeping-course-page .course-cta h2 {
    color: white;
    margin-top: 0;
}

.beekeeping-course-page .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .beekeeping-course-page .course-actions,
    .beekeeping-course-page .module-actions,
    .beekeeping-course-page .cta-buttons {
        flex-direction: column;
    }

    .beekeeping-course-page .module-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .beekeeping-course-page .resources-grid {
        grid-template-columns: 1fr;
    }
}
/* Presentations Page - Video Thumbnails */
.presentation {
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.presentation-thumbnail {
    position: relative;
    flex-shrink: 0;
    width: 300px;
    height: 225px;
    overflow: hidden;
    background: #000;
}

.presentation-thumbnail .video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.presentation:hover .video-thumbnail {
    transform: scale(1.05);
}

.presentation-thumbnail .duration,
.presentation-thumbnail .featured-badge {
    position: absolute;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.presentation-thumbnail .duration {
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

.presentation-thumbnail .featured-badge {
    top: 0.5rem;
    left: 0.5rem;
    background: #D4AF37;
    color: #2C1810;
}

.presentation-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .presentation {
        flex-direction: column;
    }
    
    .presentation-thumbnail {
        width: 100%;
        height: auto;
    }
    
    .presentation-thumbnail .video-thumbnail {
        height: auto;
        object-fit: contain;
    }
}

/* AI Engine Chatbot Styling - Bee Theme */
/* Chatbot Button - Hide default icon and add honeybee */
.mwai-open-button svg,
.mwai-chat-button svg {
    display: none !important;
}

.mwai-open-button,
.mwai-chat-button {
    background: linear-gradient(135deg, var(--bee-gold) 0%, var(--bee-yellow) 100%) !important;
    background-image: url('https://cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/1f41d.svg'), linear-gradient(135deg, var(--bee-gold) 0%, var(--bee-yellow) 100%) !important;
    background-size: 28px 28px, cover !important;
    background-position: center center, center center !important;
    background-repeat: no-repeat, no-repeat !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.mwai-open-button:hover,
.mwai-chat-button:hover {
    background-image: url('https://cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/1f41d.svg'), linear-gradient(135deg, var(--bee-yellow) 0%, var(--bee-gold) 100%) !important;
    transform: scale(1.05) !important;
}

/* Chatbot Window - Hide border before opening */
.mwai-window:not(.mwai-open),
.mwai-chat:not(.mwai-open) {
    border: none !important;
}

.mwai-window.mwai-open,
.mwai-chat.mwai-open {
    background: linear-gradient(135deg, #fff9e6 0%, #ffe8a3 100%) !important;
    border: 3px solid var(--bee-gold) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}

.mwai-window,
.mwai-chat {
    background: transparent !important;
}

/* Chatbot Header */
.mwai-header {
    background: linear-gradient(135deg, var(--bee-gold) 0%, var(--bee-yellow) 100%) !important;
    color: var(--bee-black) !important;
    border-bottom: 2px solid var(--bee-black) !important;
}

.mwai-title::before {
    content: '🐝 ';
}

/* User Messages */
.mwai-text.mwai-user {
    background: var(--bee-gold) !important;
    color: var(--bee-black) !important;
    border-radius: 15px !important;
}

/* Bot Messages */
.mwai-text.mwai-ai {
    background: white !important;
    color: var(--bee-black) !important;
    border: 2px solid var(--bee-yellow) !important;
    border-radius: 15px !important;
}

/* Input Area */
.mwai-input,
.mwai-input-text {
    background: white !important;
    border: 2px solid var(--bee-gold) !important;
    color: var(--bee-black) !important;
}

.mwai-input:focus,
.mwai-input-text:focus {
    border-color: var(--bee-yellow) !important;
    box-shadow: 0 0 0 3px rgba(244, 166, 35, 0.2) !important;
}

/* Send Button */
.mwai-input-button,
.mwai-send-button {
    background: var(--bee-gold) !important;
    color: white !important;
    border-radius: 8px !important;
}

.mwai-input-button:hover,
.mwai-send-button:hover {
    background: var(--bee-yellow) !important;
    color: var(--bee-black) !important;
}

/* Typing Indicator */
.mwai-typing {
    color: var(--bee-gold) !important;
}

/* Close Button */
.mwai-close-button {
    color: var(--bee-black) !important;
}

.mwai-close-button:hover {
    color: var(--bee-gold) !important;
}

/* Password Reset Page Styling */
.password-reset-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.password-reset-page .page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.password-reset-page .page-header h1 {
    font-size: 2.5rem;
    color: var(--bee-gold);
    margin-bottom: 1rem;
}

.password-reset-page .page-intro {
    font-size: 1.1rem;
    color: #666;
}

.reset-section {
    margin-bottom: 3rem;
}

.reset-container {
    display: flex;
    justify-content: center;
}

.reset-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
}

.reset-form-wrapper h2 {
    color: var(--bee-gold);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.reset-form-wrapper > p:nth-of-type(1) {
    color: #666;
    margin-bottom: 2rem;
}

.reset-form-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reset-form-wrapper .user-user-login-wrap {
    display: flex;
    flex-direction: column;
}

.reset-form-wrapper .user-user-login-wrap label {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.reset-form-wrapper .user-user-login-wrap input {
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.reset-form-wrapper .user-user-login-wrap input:focus {
    outline: none;
    border-color: var(--bee-gold);
}

.reset-form-wrapper #wp-submit {
    background: linear-gradient(135deg, var(--bee-yellow) 0%, var(--bee-gold) 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.reset-form-wrapper #wp-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
}

/* Custom Password Reset Form */
.password-reset-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.password-reset-form .form-group {
    display: flex;
    flex-direction: column;
}

.password-reset-form .form-group label {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.password-reset-form .form-group input {
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.password-reset-form .form-group input:focus {
    outline: none;
    border-color: var(--bee-gold);
}

.password-reset-form .btn-submit {
    background: linear-gradient(135deg, var(--bee-yellow) 0%, var(--bee-gold) 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.password-reset-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.btn-back-link {
    color: var(--bee-amber);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.btn-back-link:hover {
    color: var(--bee-gold);
    text-decoration: underline;
}

.reset-success {
    background: #f0f8f0;
    border-left: 5px solid #22c55e;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.reset-success h2 {
    color: #22c55e;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.reset-success p {
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.reset-success a {
    color: var(--bee-gold);
    text-decoration: none;
    font-weight: 600;
}

.reset-success a:hover {
    text-decoration: underline;
}

.btn-back {
    display: inline-block;
    background: linear-gradient(135deg, var(--bee-yellow) 0%, var(--bee-gold) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
    color: white;
}

/* Reset Password Form Page */
.reset-password-form-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.reset-password-form-page .page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.reset-password-form-page .page-header h1 {
    font-size: 2.5rem;
    color: var(--bee-gold);
    margin-bottom: 1rem;
}

.reset-form-section {
    margin-bottom: 3rem;
}

.reset-form-container {
    display: flex;
    justify-content: center;
}

.reset-password-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input {
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--bee-gold);
}

.btn-submit {
    background: linear-gradient(135deg, var(--bee-yellow) 0%, var(--bee-gold) 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
}

.reset-form-success {
    background: #f0f8f0;
    border-left: 5px solid #22c55e;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.reset-form-success h2 {
    color: #22c55e;
    margin-bottom: 1rem;
}

.reset-form-success p {
    color: #333;
    margin-bottom: 0;
}

.reset-form-success a {
    color: var(--bee-gold);
    text-decoration: none;
    font-weight: 600;
}

.reset-form-success a:hover {
    text-decoration: underline;
}

.reset-form-error {
    background: #fef2f2;
    border-left: 5px solid #ef4444;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

/* ========================================
   CHECK-IN PAGE STYLES
   ======================================== */

.check-in-page {
    padding: 2rem;
}

.check-in-container {
    max-width: 900px;
    margin: 0 auto;
}

.meeting-date-selector {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.meeting-date-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.date-form {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.date-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-small {
    background-color: #f59e0b;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.btn-small:hover {
    background-color: #d97706;
}

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    border-left: 4px solid #10b981;
    color: #047857;
}

.alert-error {
    background: #fee2e2;
    border-left: 4px solid #ef4444;
    color: #dc2626;
}

.check-in-forms {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-tabs {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    background: #f9fafb;
}

.form-tab {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.form-tab.active {
    border-bottom-color: #f59e0b;
    color: #f59e0b;
}

.form-tab:hover {
    background: #f3f4f6;
}

.form-panel {
    display: none;
    padding: 2rem;
}

.form-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.form-panel h2 {
    margin-top: 0;
    color: #333;
}

.check-in-form,
.member-details-form,
.new-member-form {
    margin-top: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-group {
    display: flex;
    gap: 0.5rem;
}

.search-group input {
    flex: 1;
}

.search-group button {
    width: auto;
}

.member-info {
    background: #f0fdf4;
    border-left: 4px solid #10b981;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.member-info h3 {
    margin-top: 0;
    color: #047857;
}

.member-info p {
    margin: 0.5rem 0;
    color: #666;
}

.attendees-list {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.attendees-list h2 {
    margin-top: 0;
    color: #333;
    border-bottom: 3px solid #f59e0b;
    padding-bottom: 1rem;
}

.attendees-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.attendees-table th {
    background-color: #f3f4f6;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
}

.attendees-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.attendees-table tr:hover {
    background-color: #f9fafb;
}

.attendee-count {
    text-align: right;
    margin-top: 1rem;
    font-weight: 600;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .date-form {
        flex-direction: column;
    }
    
    .attendees-table {
        font-size: 0.9rem;
    }
    
    .attendees-table th,
    .attendees-table td {
        padding: 0.75rem;
    }
}

.reset-form-error h2 {
    color: #ef4444;
    margin-bottom: 1rem;
}

.reset-form-error p {
    color: #333;
    margin-bottom: 1.5rem;
}

.btn-try-again {
    display: inline-block;
    background: linear-gradient(135deg, var(--bee-yellow) 0%, var(--bee-gold) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-try-again:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .password-reset-page,
    .reset-password-form-page {
        padding: 1rem;
    }

    .password-reset-page .page-header h1,
    .reset-password-form-page .page-header h1 {
        font-size: 2rem;
    }

    .reset-form-wrapper {
        padding: 1.5rem;
    }
}

