/* ====================================================================== *//* Base Variables & Keyframes *//* ====================================================================== */:root { --bg: #e0eafc; /* Light blue gradient start */ --bg2: #cfdef3; /* Light blue gradient end */ --card: rgba(255, 255, 255, 0.75); /* Semi-transparent white for frosted glass effect */ --muted: #65676b; --accent: #1877f2; --accent-light: rgba(24, 119, 242, 0.1); --admin-bg: rgba(220, 248, 198, 0.75); --admin-accent: #25d366; --border: rgba(228, 230, 235, 0.8); /* Custom for dark modal */ --text-color: #fff; --border-color: rgba(255, 255, 255, 0.2); --accent-blue: #007bff;}@keyframes gradientAnimation {  0% { background-position: 0% 50%; }  50% { background-position: 100% 50%; }  100% { background-position: 0% 50%; }}* { box-sizing: border-box;}body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #1c1e21; background: linear-gradient(-45deg, var(--bg), var(--bg2)); background-size: 400% 400%; animation: gradientAnimation 15s ease infinite;}/* ====================================================================== *//* Header & Timeline Layout *//* ====================================================================== */.header { position: sticky; top: 0; left: 0; right: 0; background: var(--card); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 12px 18px; z-index: 50; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04); flex-wrap: wrap;  gap: 16px;}.forum-title { font-weight: 700; font-size: 20px; color: #050505; }.tagline { font-family: 'Georgia', serif; font-size: 14px; color: var(--muted); font-style: italic; }.filter-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; background: var(--card); backdrop-filter: blur(20px); padding: 12px; border-radius: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); align-items: center; }.filter-row input[type="date"], .filter-row input[type="text"] { padding: 8px; border: 1px solid var(--border); border-radius: 8px; background-color: rgba(255,255,255,0.7); }.btn { padding: 8px 12px; border-radius: 8px; border: 0; background: var(--accent); color: #fff; cursor: pointer; font-weight: 600; transition: background 0.2s ease; }.btn:hover { background: #1565c0; }.small-btn { padding: 6px 10px; font-size: 13px; }.container { padding: 24px 18px; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }.main-content { display: flex; flex-direction: column; height: calc(100vh - 120px); }.timeline { flex-grow: 1; overflow-y: auto; padding: 8px; display: flex; flex-direction: column; }.post-box { background: var(--card); backdrop-filter: blur(20px); padding: 16px; border-radius: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }textarea { width: 100%; min-height: 80px; border: 1px solid var(--border); padding: 12px; border-radius: 8px; font-family: inherit; resize: vertical; background-color: rgba(255,255,255,0.7); }/* ====================================================================== *//* Post & Reply Cards *//* ====================================================================== */.card { display: flex; gap: 12px; padding: 16px; border-radius: 12px; background: var(--card); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); margin-bottom: 12px; }.card.admin { background: var(--admin-bg); backdrop-filter: blur(20px); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); align-self: flex-start; max-width: 80%; border-top-left-radius: 0; }.card:not(.admin) { align-self: flex-end; max-width: 80%; border-top-right-radius: 0; }.avatar { flex: 0 0 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 16px; }.meta { flex: 1; min-width: 0; }.meta .name { font-weight: 600; font-size: 15px; }.meta .email, .meta .date { font-size: 12px; color: var(--muted); }.content { margin-top: 8px; white-space: pre-wrap; word-wrap: break-word; }.actions { margin-top: 8px; display: flex; gap: 8px; }.action-btn { font-size: 12px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--border); background: transparent; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease; }.reply-block { margin-left: 64px; margin-top: 8px; }.reply-card { display: flex; gap: 12px; padding: 12px; border-radius: 10px; background: var(--card); backdrop-filter: blur(20px); border: 1px solid var(--border); margin-top: 8px; }.reply-card.admin { background: var(--admin-bg); backdrop-filter: blur(20px); align-self: flex-start; max-width: 80%; border-top-left-radius: 0; }.reply-card:not(.admin) { align-self: flex-end; max-width: 80%; border-top-right-radius: 0; }/* ====================================================================== *//* Modal Styles - Enforced Mandatory Registration *//* ====================================================================== */.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; /* Adjusted to 0.8 for slight background visibility */ background: rgba(0, 0, 0, 0.75);  display: flex; justify-content: center; align-items: center; z-index: 1000; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease;}.modal-overlay.active { opacity: 1; visibility: visible;}.modal-content { background: #1a1a1a; color: var(--text-color); padding: 40px; border-radius: 10px; width: 90%; max-width: 450px; box-shadow: 0 0 50px rgba(0, 123, 255, 0.5); position: relative; transform: scale(0.9); transition: transform 0.4s ease;}.modal-overlay.active .modal-content { transform: scale(1);}/* Modal Headers are white as requested */.modal-content h3.modal-header {  text-align: center;  margin-top: 0;  margin-bottom: 25px;  color: var(--text-color); /* White */  font-size: 1.8rem;  font-weight: 800;  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3); }/* New Styles: Dim and Disable Background Content When Modal is Active */body.modal-active {  /* Prevent copying/selecting text */  user-select: none;  -moz-user-select: none;  -webkit-user-select: none;  -ms-user-select: none;  cursor: default;  /* Prevent background scrolling */  overflow: hidden; }body.modal-active > .header,body.modal-active > .container {  /* Visually dim and slightly blur the content (Adjust blur(3px) and brightness(0.6) here) */  /* Prevents ALL interaction with the content underneath the overlay */  pointer-events: none; }.form-input { width: calc(100% - 20px); padding: 12px 10px; margin-bottom: 20px; border: 1px solid var(--border-color); border-radius: 5px; background: rgba(255, 255, 255, 0.05); color: var(--text-color); transition: border-color 0.3s;}.form-btn { width: 100%; padding: 15px; border: none; border-radius: 5px; background: var(--accent-blue); color: #fff; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: background 0.3s ease;}/* OTP specific styles */.otp-container { display: flex; justify-content: center; gap: 15px; margin-bottom: 20px; }.otp-input { width: 60px; height: 60px; text-align: center; font-size: 2rem; border: 1px solid var(--border-color); border-radius: 5px; background: rgba(255, 255, 255, 0.05); color: #fff; transition: border-color 0.3s; }.resend-link { text-align: center; display: block; margin-top: 15px; color: var(--accent-blue); font-size: 0.9rem; cursor: pointer; transition: color 0.3s; }/* ====================================================================== *//* Responsive Styles *//* ====================================================================== */@media (max-width: 640px) { .container { padding: 16px 12px; } .indented-preview, .reply-block { margin-left: 0; } .card:not(.admin), .card.admin, .reply-card:not(.admin), .reply-card.admin { max-width: 100%; align-self: auto; border-radius: 12px; } .header { flex-direction: column; align-items: stretch; } .filter-row { flex-direction: column; align-items: stretch; } .filter-row input, .filter-row button { width: 100%; }}