/* Inherits from waitTimes.css for base styles, with additions for Park Log */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: #f0f2f5;
    color: #1c1e21;
}

header {
    background-color: #16a34a; /* Green */
    color: white;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

main {
    padding: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.hidden {
    display: none;
}

/* Authentication Page Styles */
.auth-container { display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 20px; box-sizing: border-box; background-color: #f0f2f5; }
.auth-form { width: 100%; max-width: 400px; padding: 30px; background-color: white; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.auth-form h2 { text-align: center; color: #16a34a; margin-top: 0; margin-bottom: 25px; } /* Green */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; color: #555; }
.form-group input { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; box-sizing: border-box; transition: border-color 0.3s; }
.form-group input:focus { outline: none; border-color: #16a34a; } /* Green */
.auth-form button[type="submit"] { width: 100%; padding: 12px; border: none; border-radius: 5px; background-color: #16a34a; color: white; font-size: 1.1em; font-weight: bold; cursor: pointer; transition: background-color 0.3s; } /* Green */
.auth-form button[type="submit"]:hover { background-color: #15803d; } /* Darker Green */
.form-footer { text-align: center; margin-top: 20px; font-size: 0.9em; }
.form-footer a { color: #16a34a; text-decoration: none; } /* Green */
.form-footer a:hover { text-decoration: underline; }
.message-area { padding: 10px; margin-bottom: 15px; border-radius: 5px; text-align: center; font-weight: bold; }
.message-area.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.message-area.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.auth-divider { text-align: center; margin: 20px 0; position: relative; }
.auth-divider span { background-color: white; padding: 0 10px; position: relative; z-index: 1; color: #6c757d; font-weight: bold; }
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background-color: #dee2e6; z-index: 0; }
.google-login-btn { display: flex; align-items: center; justify-content: center; gap: 15px; width: 100%; padding: 10px; border: 1px solid #dadce0; border-radius: 5px; background-color: #fff; color: #3c4043; font-size: 1em; font-weight: bold; cursor: pointer; text-decoration: none; transition: background-color 0.3s; }
.google-login-btn:hover { background-color: #f8f9fa; border-color: #c6c9ce; }

/* Log Entry Card */
.log-entry {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    background-color: #ffffff;
    transition: box-shadow 0.2s;
}
.log-entry:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.log-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}
.log-title {
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
}
.log-subtitle {
    font-size: 0.9rem;
    color: #666;
}
.log-details {
    font-size: 0.95rem;
    color: #333;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}
.log-details strong {
    color: #111;
}
.log-notes {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #444;
    white-space: pre-wrap;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}
.log-actions button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}
.log-actions button:hover svg {
    transform: scale(1.1);
}

/* Inline Edit Form */
.inline-edit-container {
    background-color: #f9fafb; /* gray-50 */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}
.inline-edit-container .choices__list--dropdown {
    z-index: 50;
}

/* New styles for filters */
.filter-btn {
    transition: background-color 0.2s, color 0.2s;
    color: #374151; /* gray-700 */
}

.filter-btn.active-filter {
    background-color: #ffffff;
    color: #1f2937; /* gray-800 */
    font-weight: 600;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}


/* Hamburger Menu */
.hamburger-menu {
    display: flex; /* Always display the hamburger menu */
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}
.hamburger-menu span {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s linear;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: #15803d; /* Darker Green */
    height: 100%;
    padding: 2rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%);
    width: 80%;
    max-width: 300px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.5);
}
.mobile-nav.open { display: flex; transform: translateX(0); }
.close-nav-btn { position: absolute; top: 15px; right: 25px; background: transparent; border: none; color: white; font-size: 2.5rem; cursor: pointer; line-height: 1; }
.mobile-user-info { padding-bottom: 1rem; text-align: center; color: white; word-wrap: break-word; }
.mobile-nav-link { font-size: 1.2rem; padding: 1rem 0.5rem; font-weight: bold; color: #FFF; text-decoration: none; display: block; }
.mobile-nav-divider { border: 0; border-top: 1px solid rgba(255,255,255,0.2); margin: 1rem 0; }

/* Current page indicator styles */
.mobile-nav-link.current-page {
    opacity: 0.7;
    cursor: default;
}
.mobile-nav-link.current-page::after {
    content: " (current)";
    font-style: italic;
    font-size: 0.9rem;
    padding-left: 0.5em;
}

