body { font-family: 'Segoe UI', sans-serif; background: #000000; padding: 20px; }
.container { background: white; padding: 30px; border-radius: 8px; max-width: 1200px; margin: auto; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.search-area { background: #eee; padding: 15px; border-radius: 6px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.search-area input { padding: 8px; width: 250px; border: 1px solid #ccc; border-radius: 4px; }
.legend { flex-grow: 1; text-align: center; color: #666; font-size: 0.9em; font-weight: bold; }
.legend span { color: #e74c3c; }
.btn-view-all { padding: 8px 15px; background: #2c3e50; color: white; border: none; border-radius: 4px; text-decoration: none; font-size: 0.9em; }
.btn-search { padding: 8px 15px; background: #3498db; color: white; border: none; border-radius: 4px; cursor: pointer; }
.ambiguity-alert { background: #fff3cd; border: 1px solid #ffeeba; padding: 15px; border-radius: 4px; margin-bottom: 20px; color: #856404; }
.ambiguity-btn { background: #856404; color: white; padding: 5px 12px; border-radius: 20px; font-size: 0.9em; text-decoration: none; display: inline-block; margin-right: 5px; }
.ambiguity-btn.active { background: #2c3e50; font-weight: bold; }
.error-msg { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; padding: 20px; border-radius: 4px; text-align: center; margin-top: 20px; }
.notes-box { background: #fffde7; border: 1px solid #fbc02d; padding: 15px; border-radius: 4px; margin: 15px 0; color: #5d4037; }
.mood-section { margin-top: 30px; margin-bottom: 50px; border-bottom: 2px solid #eee; padding-bottom: 20px; }
.mood-header { background: #2c3e50; color: white; padding: 10px; border-radius: 4px; font-size: 1.2em; margin-bottom: 15px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 15px; }
.tense-block { background: #fff; padding: 12px; border: 1px solid #ddd; border-radius: 4px; }
.tense-title { font-weight: bold; color: #2980b9; border-bottom: 1px solid #eee; margin-bottom: 8px; display: block; }
.person-label { color: #888; width: 35px; display: inline-block; font-weight: normal; }
.example-container { background: #e8f4fd; padding: 15px; border-left: 5px solid #3498db; margin-top: 20px; border-radius: 0 4px 4px 0; }
.example-line { margin-bottom: 6px; font-size: 0.95em; line-height: 1.4; }
.ex-tense { color: #2980b9; font-weight: bold; display: inline-block; width: 170px; }
.nav { display: flex; justify-content: space-between; margin: 20px 0; }
a { color: #3498db; text-decoration: none; font-weight: bold; }
.explanation-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.explanation-table th, .explanation-table td { text-align: left; padding: 12px; border-bottom: 1px solid #ddd; }
.explanation-table th { background-color: #f8f9fa; width: 30%; color: #2c3e50; }

/* YELLOW HIGHLIGHT when clicked */
tr:target { background-color: #fff8c4; outline: 2px solid #e6db55; }

/* FLOATING BACK BUTTON */
.floating-back {
    position: fixed; bottom: 30px; right: 30px;
    background-color: #2c3e50; color: white;
    padding: 15px 25px; border-radius: 50px;
    text-decoration: none; font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
}
.floating-back:hover { background-color: #34495e; color: #fff; }