/* CSS Variables - Letterboxd-inspired Dark Theme */
:root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #141414;
    --bg-tertiary: #1a1a1a;
    --text-primary: #e0e0e0;
    --text-secondary: #b3b3b3;
    --text-muted: #808080;
    --accent: #00d735;
    --accent-hover: #00b82e;
    --border: #2a2a2a;
    --border-light: #333333;
    --shadow: rgba(0, 0, 0, 0.5);
    --shadow-hover: rgba(0, 0, 0, 0.7);
    --input-bg: #1a1a1a;
    --input-border: #2a2a2a;
    --input-focus: #00d735;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Login Page */
.login-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--bg-primary);
}

.login-page > .login-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    margin: 0 auto;
}

.login-page > footer {
    margin-top: auto;
    flex-shrink: 0;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.site-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

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

.input-group {
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 2px rgba(0, 215, 53, 0.1);
}

.input-group input::placeholder {
    color: var(--text-muted);
}

.password-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: var(--text-primary);
}

.password-toggle .eye-off {
    display: none;
}

.password-toggle.active .eye-on {
    display: none;
}

.password-toggle.active .eye-off {
    display: block;
}

.login-btn {
    padding: 0.875rem;
    background: var(--accent);
    border: none;
    border-radius: 4px;
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.5rem;
}

.login-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 215, 53, 0.3);
}

.error-message {
    color: #ff4444;
    font-size: 0.875rem;
    text-align: center;
    padding: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

/* Registration Section */
.register-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.register-prompt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
    transition: color 0.2s;
    cursor: pointer;
}

.register-prompt:hover {
    color: var(--accent);
}

.register-form {
    margin-top: 1rem;
}

.register-btn-secondary {
    width: 100%;
    padding: 0.875rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.5rem;
}

.register-btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent);
}

.register-btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--accent);
    border: none;
    border-radius: 4px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.5rem;
}

.register-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 215, 53, 0.3);
}

/* Dashboard */
.dashboard-page {
    background: var(--bg-primary);
    min-height: 100vh;
}

.main-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.main-nav {
    display: flex;
    gap: 0.75rem;
    flex: 1;
    justify-content: space-between;
    align-items: center;
}

.nav-icons-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.nav-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.nav-icon-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(0, 215, 53, 0.1);
    transform: scale(1.05);
}

.nav-icon-btn.active {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(0, 215, 53, 0.15);
    box-shadow: 0 0 0 2px rgba(0, 215, 53, 0.2);
}

.nav-icon-btn svg {
    width: 20px;
    height: 20px;
}

/* Legacy nav-btn support (for admin button) */
.nav-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.nav-btn:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.nav-btn.active {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(0, 215, 53, 0.1);
}

.admin-nav-btn {
    padding: 0.5rem 1.25rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.admin-nav-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(0, 215, 53, 0.1);
    transform: translateY(-1px);
}

.admin-nav-btn.active {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(0, 215, 53, 0.15);
    box-shadow: 0 0 0 2px rgba(0, 215, 53, 0.2);
}

.logout-btn {
    padding: 0.5rem 1.25rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.logout-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(0, 215, 53, 0.1);
    transform: translateY(-1px);
}

.header-profile-photo {
    transition: all 0.2s;
}

.header-profile-photo:hover {
    border-color: var(--accent) !important;
    background: rgba(0, 215, 53, 0.1) !important;
    transform: scale(1.05);
}

.header-profile-photo.active {
    border-color: var(--accent) !important;
    background: rgba(0, 215, 53, 0.15) !important;
    box-shadow: 0 0 0 2px rgba(0, 215, 53, 0.2);
}

.header-profile-photo.active svg {
    stroke: var(--accent);
}

.header-profile-photo:hover svg {
    stroke: var(--accent);
}

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

.content-section {
    display: none; /* Hide by default */
    display: none;
}

.content-section.active {
    display: block;
}

.section-header {
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Film Cards */
.next-film-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: all 0.2s;
}

.next-film-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.next-film-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.film-info h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.film-date {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.film-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.films-list-container {
    margin-top: 2rem;
}

.list-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.deja-vu-section {
    margin-top: 3rem;
}

.films-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
    min-width: 200px;
    text-align: center;
}

.pagination-page {
    padding: 0.5rem 0.75rem;
    min-width: 2.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    text-align: center;
}

.pagination-page:hover:not(.active) {
    background: var(--bg-tertiary);
    border-color: var(--accent);
}

.pagination-page.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    font-weight: 600;
}

.pagination-ellipsis {
    padding: 0 0.5rem;
    color: var(--text-muted);
    user-select: none;
}

.film-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
}

.film-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px var(--shadow);
}

.film-poster {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
}

.film-item-info {
    padding: 1rem;
}

.film-item-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.film-item-director {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.film-item-date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.film-rating {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 2rem;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.modal-close:hover {
    background: var(--bg-primary);
    border-color: var(--accent);
}

.modal-body {
    padding: 2rem;
}

.modal-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.modal-poster {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 4px;
}

.modal-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.modal-title-alt {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.modal-director {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.modal-date {
    color: var(--accent);
    font-weight: 600;
}

.modal-presentation {
    margin-top: 2rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.modal-presentation h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Rating Hal9000 */
.rating-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.rating-section h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.rating-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.rating-eyes {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    overflow: visible;
}

.rating-eye {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #ff0000 0%, #cc0000 70%, #990000 100%);
    border: 1px solid #660000;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    filter: grayscale(100%) opacity(0.3);
    overflow: hidden;
}

.rating-eye::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 3px;
    background: #000;
    border-radius: 50%;
    z-index: 5;
}

.rating-eye:hover,
.rating-eye.hover {
    filter: grayscale(0%) opacity(1) !important;
    transform: scale(1.2);
    z-index: 10;
}

.rating-eye.filled {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.0);
}

.rating-eye.half {
    position: relative;
    overflow: hidden;
    background: none !important;
    filter: none !important;
}

.rating-eye.half::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #ff0000 0%, #cc0000 70%, #990000 100%);
    filter: grayscale(100%) opacity(0.3) !important;
    z-index: 1;
    border-radius: 50%;
    pointer-events: none;
}

.rating-eye.half::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, #ff0000 0%, #cc0000 70%, #990000 100%);
    filter: grayscale(0%) opacity(1) !important;
    z-index: 3;
    border-radius: 50% 0 0 50%;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    pointer-events: none;
}

.rating-eye.half-hover {
    transform: scale(1.4);
    z-index: 10;
    position: relative;
    overflow: visible;
    background: none !important;
}

.rating-eye.half-hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #ff0000 0%, #cc0000 70%, #990000 100%);
    filter: grayscale(100%) opacity(0.3) !important;
    z-index: 1;
    border-radius: 50%;
    transform: scale(0.714);
}

.rating-eye.half-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, #ff0000 0%, #cc0000 70%, #990000 100%);
    filter: grayscale(0%) opacity(1) !important;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    z-index: 2;
    border-radius: 50% 0 0 50%;
    transform: scale(0.714);
    overflow: hidden;
}

.rating-eye.hover.half-hover {
    filter: none !important;
}

.rating-eye.hover.half-hover::after {
    filter: grayscale(100%) opacity(0.3);
}

.rating-eye.hover.half-hover::before {
    filter: grayscale(0%) opacity(1) !important;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
}

.rating-eye.empty {
    filter: grayscale(100%) opacity(0.3);
}

.rating-average {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.rating-average-value {
    color: var(--accent);
    font-weight: 600;
}

/* Film Gallery */
.film-gallery {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.film-gallery h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
    aspect-ratio: 16/9;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.gallery-lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.gallery-lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.2s;
}

.gallery-lightbox-close:hover {
    background: var(--bg-primary);
    border-color: var(--accent);
}

/* Wall Section */
.message-composer {
    margin-bottom: 2rem;
}

.message-composer textarea {
    width: 100%;
    min-height: 100px;
    padding: 1rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 0.5rem;
}

.message-composer textarea:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 2px rgba(0, 215, 53, 0.1);
}

.message-composer button {
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    border: none;
    border-radius: 4px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.message-composer button:hover {
    background: var(--accent-hover);
}

.wall-message {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.wall-message-author {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.wall-message-text {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.wall-message-time {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Community Layout */
.community-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    align-items: start;
}

.community-sidebar {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.community-sidebar-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.users-list-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.user-item {
    padding: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.user-item:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.user-item.active {
    background: var(--accent);
    color: #000;
    font-weight: 600;
}

.user-item.current-user {
    font-weight: 600;
    color: var(--accent);
}

.user-item.current-user.active {
    color: #000;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-item-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.user-item-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-item-photo-default {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.community-content {
    display: flex;
    flex-direction: column;
}

.community-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.community-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: -1px;
}

.community-tab:hover {
    color: var(--text-primary);
}

.community-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.community-tab-content {
    display: none;
}

.community-tab-content.active {
    display: block;
}

.community-tab-content #wallMessagesContainer {
    margin-top: 1rem;
    padding-right: 0.5rem;
    /* Removed overflow-y: auto to allow normal page scrolling */
}

/* Wall & Messages Unified Layout (kept for backward compatibility) */
.wall-messages-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.wall-section {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 200px);
}

.wall-section #wallMessagesContainer {
    flex: 1;
    margin-top: 1rem;
    padding-right: 0.5rem;
    /* Removed overflow-y: auto to allow normal page scrolling */
}

.messages-section {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 200px);
}

.wall-subsection-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Messages Section */
.contacts-list {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1rem;
    height: 600px;
}

.contacts-sidebar {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    overflow-y: auto;
}

.contact-item {
    padding: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0.5rem;
}

.contact-item:hover {
    background: var(--bg-tertiary);
}

.contact-item.active {
    background: var(--bg-tertiary);
    border-left: 3px solid var(--accent);
}

.chat-container {
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.chat-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.chat-header h3 {
    font-size: 1.125rem;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    max-width: 70%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    word-wrap: break-word;
}

.chat-message.sent {
    align-self: flex-end;
    background: var(--accent);
    color: #000;
}

.chat-message.received {
    align-self: flex-start;
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.chat-message-time {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    opacity: 0.7;
}

.chat-input-container {
    padding: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.5rem;
}

.chat-input-container textarea {
    flex: 1;
    padding: 0.75rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    resize: none;
    min-height: 50px;
}

.chat-input-container textarea:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 2px rgba(0, 215, 53, 0.1);
}

.chat-input-container textarea:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-input-container button {
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    border: none;
    border-radius: 4px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-input-container button:hover:not(:disabled) {
    background: var(--accent-hover);
}

.chat-input-container button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.private-chat-container {
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    max-height: calc(100vh - 300px);
}

/* Proposals Section */
.proposal-new-btn {
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    border: none;
    border-radius: 4px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.proposal-new-btn:hover {
    background: var(--accent-hover);
}

.proposal-cancel-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.proposal-cancel-btn:hover {
    background: var(--bg-secondary);
}

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

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

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 2px rgba(0, 215, 53, 0.1);
}

.checkbox-group {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.proposal-submit-btn {
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    border: none;
    border-radius: 4px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-start;
}

.proposal-submit-btn:hover {
    background: var(--accent-hover);
}

#proposalsContainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.proposal-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
}

.proposal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.proposal-author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.proposal-author-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.proposal-author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proposal-author-photo-default {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.proposal-author {
    color: var(--accent);
    font-weight: 600;
}

.proposal-time {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.proposal-content {
    margin-bottom: 1rem;
}

.proposal-image-container {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    max-width: 300px;
}

.proposal-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    display: block;
}

.proposal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.proposal-meta {
    display: flex;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.proposal-comment {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.proposal-flags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.proposal-flag {
    padding: 0.25rem 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.proposal-footer {
    display: flex;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.proposal-like-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.proposal-like-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent);
}

.proposal-like-btn.liked {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(0, 215, 53, 0.1);
}

.proposal-like-btn svg {
    width: 16px;
    height: 16px;
}

/* Private Profile Section */
.private-profile-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.private-profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.private-profile-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.private-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.private-profile-photo-default {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.private-profile-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.private-profile-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.private-profile-field {
    color: var(--text-secondary);
    line-height: 1.6;
}

.private-profile-field strong {
    color: var(--text-primary);
    margin-right: 0.5rem;
}

/* Animation for loading spinner */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.chat-input-container textarea {
    flex: 1;
    min-height: 60px;
    padding: 0.75rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: inherit;
    resize: none;
}

.chat-input-container textarea:focus {
    outline: none;
    border-color: var(--input-focus);
}

.chat-input-container button {
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    border: none;
    border-radius: 4px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-input-container button:hover {
    background: var(--accent-hover);
}

/* Profile Section */
.profile-section {
    max-width: 600px;
}

.profile-form-group {
    margin-bottom: 1.5rem;
}

.profile-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.profile-form-group input,
.profile-form-group textarea,
.profile-form-group select {
    width: 100%;
    padding: 0.75rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
}

.profile-form-group input:focus,
.profile-form-group textarea:focus,
.profile-form-group select:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 2px rgba(0, 215, 53, 0.1);
}

.profile-form-group select {
    cursor: pointer;
}

.profile-form-group select option {
    background: var(--input-bg);
    color: var(--text-primary);
}

.profile-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.profile-btn {
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    border: none;
    border-radius: 4px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.profile-btn:hover {
    background: var(--accent-hover);
}

.profile-section-divider {
    margin: 2rem 0;
    border-top: 1px solid var(--border);
}

/* Admin Section */
.users-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.role-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.role-badge.admin {
    background: rgba(0, 215, 53, 0.2);
    color: var(--accent);
}

.role-badge.user {
    background: rgba(128, 128, 128, 0.2);
    color: var(--text-secondary);
}

.current-badge {
    padding: 0.25rem 0.5rem;
    background: rgba(0, 215, 53, 0.1);
    color: var(--accent);
    border-radius: 4px;
    font-size: 0.75rem;
}

.user-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.user-actions {
    display: flex;
    gap: 0.5rem;
}

.user-actions button {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.user-actions button:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.delete-user-btn:hover {
    border-color: #ff4444;
    color: #ff4444;
}

/* Polls Section */
.poll-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1rem;
}

.poll-card h3 {
    margin-bottom: 1rem;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.poll-option {
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.poll-option:hover {
    border-color: var(--accent);
    background: var(--bg-secondary);
}

.poll-option-votes {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Admin Section */
.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.admin-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-tab:hover {
    color: var(--text-primary);
}

.admin-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* Notifications */
.notifications-center {
    position: relative;
}

.notifications-btn {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent);
    color: #000;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-secondary);
    z-index: 1;
}

.notifications-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 320px;
    max-width: 400px;
    max-height: 500px;
    overflow-y: auto;
    z-index: 1000;
}

.notifications-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notifications-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.notifications-header button {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.notifications-header button:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.notifications-list {
    padding: 0.5rem;
}

.notification-item {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background: var(--bg-tertiary);
}

.notification-item.unread {
    background: rgba(0, 215, 53, 0.05);
}

.notification-item.unread:hover {
    background: rgba(0, 215, 53, 0.1);
}

.notifications-empty {
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
}
    border-bottom-color: var(--accent);
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.admin-section-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.admin-btn-primary {
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    border: none;
    border-radius: 4px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-btn-primary:hover {
    background: var(--accent-hover);
}

.films-admin-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
}

.films-admin-list-header strong {
    color: var(--text-primary);
    font-size: 1rem;
}

.films-admin-list-header button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.films-admin-list-header button:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 215, 53, 0.1);
}

.films-admin-list-header button span:last-child {
    font-size: 1.2rem;
    color: var(--accent);
}

.films-admin-list,
.polls-admin-list,
.tickets-admin-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 1rem;
    background: var(--bg-primary);
}

/* Pagination Styles */
.pagination-container {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-btn-prev,
.pagination-btn-next {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.pagination-btn-prev:hover:not(:disabled),
.pagination-btn-next:hover:not(:disabled) {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.pagination-btn-prev:disabled,
.pagination-btn-next:disabled {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
}

.pagination-page {
    padding: 0.5rem 0.75rem;
    min-width: 2.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    text-align: center;
}

.pagination-page:hover:not(.active) {
    background: var(--bg-tertiary);
    border-color: var(--accent);
}

.pagination-page.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    font-weight: 600;
}

.pagination-ellipsis {
    padding: 0 0.5rem;
    color: var(--text-muted);
    user-select: none;
}

.film-admin-item,
.poll-admin-item,
.ticket-admin-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.film-admin-info,
.poll-admin-info,
.ticket-admin-info {
    flex: 1;
}

.ticket-admin-code {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: monospace;
}

.ticket-admin-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.ticket-admin-actions {
    display: flex;
    gap: 0.5rem;
}

.ticket-admin-actions button {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.ticket-admin-actions button:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.delete-ticket-btn:hover {
    border-color: #ff4444;
    color: #ff4444;
}

.film-admin-title,
.poll-admin-question {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.film-admin-meta,
.poll-admin-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.film-admin-actions,
.poll-admin-actions {
    display: flex;
    gap: 0.5rem;
}

.film-admin-actions button,
.poll-admin-actions button {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.film-admin-actions button:hover,
.poll-admin-actions button:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.delete-film-btn:hover,
.delete-poll-btn:hover {
    border-color: #ff4444;
    color: #ff4444;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .modal-header {
        grid-template-columns: 1fr;
    }

    .wall-messages-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contacts-list {
        grid-template-columns: 1fr;
        height: auto;
    }

    .contacts-sidebar {
        max-height: 200px;
    }

    .films-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .user-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .user-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Search Styles */
.search-container input:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 2px rgba(0, 215, 53, 0.1);
}

#searchResults {
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Wall Like Button */
.wall-like-btn {
    transition: all 0.2s;
}

.wall-like-btn:hover {
    background: var(--bg-tertiary) !important;
    color: var(--accent) !important;
}

.wall-like-btn.liked {
    color: var(--accent);
}

.wall-like-btn.liked svg {
    fill: var(--accent);
}

/* Lazy Loading Images */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[data-src].loaded,
img:not([data-src]) {
    opacity: 1;
}

