body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; margin: 0; padding: 0; background-color: #f0f4f8; } 

/* Blueprint Grid Background - simulating a subtle blueprint look */
body { background-image: linear-gradient(45deg, #d1e8fc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #d1e8fc 75%), linear-gradient(90deg, #e0faff 25%, transparent 25%), linear-gradient(0deg, #e0faff 75%, transparent 75%); background-size: 20px 20px; }

* { box-sizing: border-box; }

/* General Styles */
.container { padding: 15px; max-width: 600px; margin: 0 auto; }
h1 { color: #1a4b8c; text-align: center; margin: 15px 0; font-size: 24px; }
h2 { color: #1a4b8c; margin-top: 25px; font-size: 20px; }

/* Form Styles */
.form-group { margin-bottom: 15px; }
label { display: block; margin-bottom: 5px; font-weight: bold; color: #1a4b8c; font-size: 14px; }
input[type=\"text\"], select { width: 100%; padding: 12px; border: 2px solid #ccc; border-radius: 8px; font-size: 16px; transition: border-color 0.2s; }
input:focus, select:focus { border-color: #ff8c42; outline: none; box-shadow: 0 0 5px rgba(255, 140, 66, 0.5); }
.error-message { color: #d9534f; font-size: 12px; margin-top: 5px; display: none; }

/* Buttons */
.btn { padding: 12px 24px; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; transition: background-color 0.2s, transform 0.1s; border: none; text-align: center; margin: 5px 0; }
.btn-primary { background-color: #ff8c42; color: white; width: 100%; }
.btn-primary:active { background-color: #e67a33; transform: scale(0.98); }
.btn-secondary { background-color: #1a4b8c; color: white; }
.btn-secondary:active { background-color: #133a69; transform: scale(0.98); }
.btn-danger { background-color: #d9534f; color: white; }
.btn-danger:active { background-color: #c9302c; transform: scale(0.98); }

/* Status Indicators */
.status-tag { display: inline-block; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; color: white; }
.status-Planned { background-color: #999; }
.status-InProgress { background-color: #2a77c7; }
.status-Completed { background-color: #5cb85c; }
.status-High { background-color: #d9534f; }
.status-Medium { background-color: #f0ad4e; }
.status-Low { background-color: #5cb85c; }

/* Task Cards */
.task-card { background-color: white; border-radius: 12px; padding: 15px; margin-bottom: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); border-left: 6px solid transparent; transition: transform 0.1s; }
.task-card:active { transform: scale(0.99); }
.task-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.task-card-title { font-size: 18px; font-weight: 700; color: #333; margin: 0; flex-grow: 1; }
.task-card-room { font-size: 13px; color: #666; margin: 5px 0; }
.task-card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 13px; color: #777; }
.task-card-actions { display: flex; gap: 8px; margin-top: 15px; justify-content: flex-end; }

/* Bottom Navigation */
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background-color: #1a4b8c; display: flex; justify-content: space-around; padding: 6px 0; z-index: 1000; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); }
.nav-item { display: flex; flex-direction: column; align-items: center; color: #ccc; text-decoration: none; font-size: 11px; transition: color 0.3s; }
.nav-item.active { color: white; }
.nav-item span { margin-top: 2px; font-size: 11px; }
.nav-icon { font-size: 20px; }

/* Plan View Specifics */
.plan-board-header { background-color: #1a4b8c; color: white; padding: 15px 20px; border-radius: 0 0 15px 15px; text-align: center; margin-bottom: 20px; }
.stats-container { display: flex; justify-content: space-around; margin-top: 15px; }
.stat-box { text-align: center; }
.stat-value { font-size: 28px; font-weight: 700; color: #ff8c42; }
.stat-label { font-size: 12px; text-transform: uppercase; color: #ccc; }

.recent-tasks-container { margin-top: 30px; padding-top: 10px; border-top: 1px dashed rgba(255, 140, 66, 0.3); }
.recent-task-item { padding: 10px; margin-bottom: 10px; background-color: white; border-left: 4px solid #ff8c42; border-radius: 4px; font-size: 14px; }
.recent-task-item strong { display: block; margin-bottom: 3px; color: #333; }

/* Task List View */
.task-list-filter { display: flex; gap: 10px; margin-bottom: 15px; flex-wrap: wrap; }
.filter-btn { padding: 8px 15px; border: 1px solid #ccc; border-radius: 20px; background: white; font-size: 13px; cursor: pointer; }
.filter-btn.active { background: #1a4b8c; color: white; border-color: #1a4b8c; }
.filter-input { width: 100%; padding: 10px; margin-bottom: 15px; border-radius: 8px; border: 1px solid #ccc; }

/* Room List View */
.room-list-item { padding: 15px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.room-list-item:active { background-color: #f0f4f8; }
.room-details { display: flex; flex-direction: column; }
.room-details strong { font-size: 16px; color: #333; }
.room-details small { color: #666; }

/* Empty State */
.empty-state { text-align: center; padding: 50px 20px; color: #999; font-style: italic; }

/* Animations */
@keyframes slideUp { from { height: 0; opacity: 0; } to { height: 4px; opacity: 1; } }
