.readability-container { max-width: 750px; margin: 20px auto; padding: 30px; background: #fff; border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); font-family: 'Inter', sans-serif; }
.tool-header h2 { color: #1a1a1a; text-align: center; }
.tool-header p { color: #666; text-align: center; margin-bottom: 25px; }

#readability-text { width: 100%; height: 200px; padding: 15px; border: 2px solid #f0f0f0; border-radius: 12px; font-size: 16px; transition: 0.3s; box-sizing: border-box; }
#readability-text:focus { border-color: #6c5ce7; background: #faf9ff; outline: none; }

#check-readability-btn { width: 100%; padding: 16px; background: #6c5ce7; color: white; border: none; border-radius: 12px; font-weight: bold; cursor: pointer; margin-top: 15px; font-size: 16px; transition: 0.3s; }
#check-readability-btn:hover { background: #5b4cc4; transform: translateY(-2px); }

/* Visual Gauge Styling */
.visual-gauge-container { margin: 25px 0; }
.gauge-bar { width: 100%; height: 12px; background: #eee; border-radius: 10px; overflow: hidden; position: relative; }
.gauge-fill { height: 100%; width: 0%; transition: 1s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.gauge-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: 1px; }

.score-grid { display: flex; gap: 15px; margin-bottom: 20px; }
.score-item { flex: 1; background: #fcfcff; border: 1px solid #f0f0ff; padding: 15px; border-radius: 12px; text-align: center; }
.score-item span { display: block; font-size: 22px; font-weight: 800; color: #2d3436; }
.score-item label { font-size: 11px; color: #a0a0a0; font-weight: 600; margin-top: 5px; display: block; }

.stats-bar { text-align: center; padding: 10px; background: #f8f9fa; border-radius: 8px; font-size: 13px; color: #666; margin-bottom: 15px; }
.stats-bar b { color: #333; margin: 0 10px; }

.feedback-msg { padding: 15px; border-radius: 10px; font-size: 14px; text-align: center; font-weight: 600; }
.good { background: #e3f9e5; color: #1f7a28; }
.average { background: #fff4e5; color: #b35900; }
.poor { background: #ffe5e5; color: #b30000; }