/* ===== Feels Like - Modern Styles ===== */
.fl-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.fl-main { min-width: 0; }
.fl-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 18px; padding: 32px; box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
.fl-sidebar { display: flex; flex-direction: column; gap: 20px; }

.fl-section { margin-bottom: 20px; }
.fl-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.fl-input-row { display: flex; gap: 10px; align-items: center; }
.fl-input { flex: 1; padding: 14px 16px; border: 2px solid var(--border-light); border-radius: 12px; font-size: 18px; font-weight: 600; background: var(--bg); color: var(--text); outline: none; transition: all 0.2s; font-family: inherit; }
.fl-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79,70,229,0.12); }
body[data-theme="dark"] .fl-input { background: var(--bg-muted); border-color: var(--border); }
body[data-theme="dark"] .fl-input:focus { background: var(--bg-card); }

.fl-select { padding: 14px 16px; border: 2px solid var(--border-light); border-radius: 12px; font-size: 15px; font-weight: 600; background: var(--bg-soft); color: var(--text); cursor: pointer; outline: none; transition: all 0.2s; font-family: inherit; }
.fl-select:focus { border-color: var(--primary); }
body[data-theme="dark"] .fl-select { background: var(--bg-muted); border-color: var(--border); }
.fl-unit-suffix { font-size: 18px; font-weight: 700; color: var(--text-muted); padding: 0 8px; }

.fl-btn { width: 100%; padding: 16px; background: linear-gradient(135deg,var(--primary),#8b5cf6); color: #fff; border: none; border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.25s; display: flex; align-items: center; justify-content: center; gap: 10px; font-family: inherit; box-shadow: 0 4px 14px rgba(79,70,229,0.3); margin-bottom: 20px; }
.fl-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79,70,229,0.4); }

/* Result */
.fl-result { background: var(--bg-soft); border-radius: 16px; padding: 24px; margin-bottom: 20px; border: 1px solid var(--border-light); text-align: center; }
.fl-result-main { margin-bottom: 12px; }
.fl-result-icon { font-size: 2.4rem; color: var(--primary); margin-bottom: 8px; }
.fl-result-val { font-size: 2.8rem; font-weight: 800; transition: color 0.5s; }
.fl-result-label { font-size: 14px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }
.fl-result-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; padding-top: 12px; border-top: 1px solid var(--border-light); }
body[data-theme="dark"] .fl-result { background: var(--bg-muted); border-color: var(--border); }

/* About */
.fl-about { padding: 20px; background: var(--bg-soft); border-radius: 14px; border: 1px solid var(--border-light); }
.fl-about-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.fl-about-title i { color: var(--primary); }
.fl-about p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin: 0; }
body[data-theme="dark"] .fl-about { background: var(--bg-muted); border-color: var(--border); }

/* SEO */
.calc-seo { margin-top: 24px; padding: 20px 24px; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.calc-seo p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }

/* Sidebar */
.sidebar-section { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 16px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.sidebar-header { text-align: center; padding: 28px 20px !important; background: linear-gradient(135deg,#667eea 0%,#764ba2 100%) !important; border-color: transparent !important; }
.sidebar-header h1 { font-size: 1.35rem; font-weight: 800; color: #fff; margin-bottom: 6px; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.sidebar-header p { font-size: 0.82rem; color: rgba(255,255,255,0.85); }
body[data-theme="dark"] .sidebar-header { background: linear-gradient(135deg,#667eea 0%,#764ba2 100%) !important; }
.sidebar-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.sidebar-title i { color: var(--primary); font-size: 0.9rem; }
.sidebar-tools { display: flex; flex-direction: column; gap: 8px; }
.sidebar-tool { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; transition: all 0.2s; text-decoration: none; background: var(--bg-soft); }
.sidebar-tool:hover { background: var(--primary-50); transform: translateX(3px); }
.sidebar-tool-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 16px; flex-shrink: 0; background: linear-gradient(135deg,#6366f1,#8b5cf6); color: #fff; }
.sidebar-tool-info { flex: 1; min-width: 0; }
.sidebar-tool-name { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.sidebar-tool-desc { font-size: 0.78rem; color: var(--text-muted); }
.ad-placeholder { width: 300px; height: 250px; flex-shrink: 0; margin: 0 auto; background: var(--bg-card); border: 2px dashed var(--border); border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; color: var(--text-muted); font-size: 0.82rem; line-height: 1.5; }
.ad-placeholder .ad-icon { font-size: 1.8rem; color: var(--text-muted); margin-bottom: 10px; opacity: 0.4; }
.ad-placeholder .ad-label { font-weight: 600; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; }
.ad-placeholder .ad-size { font-size: 0.75rem; color: var(--text-muted); opacity: 0.6; }

body[data-theme="dark"] .sidebar-section { background: var(--bg-card); border-color: var(--border); }
body[data-theme="dark"] .sidebar-tool { background: var(--bg-muted); }
body[data-theme="dark"] .sidebar-tool:hover { background: var(--primary-50); }
body[data-theme="dark"] .ad-placeholder { background: var(--bg-card); border-color: var(--border); }
body[data-theme="dark"] .calc-seo { background: var(--bg-card); border-color: var(--border); }
body[data-theme="dark"] .fl-card { background: var(--bg-card); border-color: var(--border); }

@media (max-width:1024px) { .fl-layout { grid-template-columns:1fr 280px; gap:20px; } }
@media (max-width:860px) { .fl-layout { grid-template-columns:1fr; } .fl-sidebar { display:grid; grid-template-columns:1fr 1fr; gap:16px; } }
@media (max-width:768px) { .fl-card { padding:20px; } .fl-result-val { font-size:2rem; } }
@media (max-width:640px) { .fl-sidebar { grid-template-columns:1fr; } }