.rvb-wrap { font-family: 'Segoe UI', sans-serif; max-width: 1100px; margin: 0 auto; padding: 20px; color: #1a2a3a; }

/* Header */
.rvb-header { background: linear-gradient(135deg, #0d3b4f, #0a7c8c); color: white; padding: 40px; border-radius: 16px; text-align: center; margin-bottom: 24px; }
.rvb-header h1 { margin: 0 0 8px; font-size: 2rem; }
.rvb-header p { margin: 0; opacity: 0.85; font-size: 1rem; }

/* Currency Bar */
.rvb-currency-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.rvb-currency-bar label { font-weight: 600; color: #0d3b4f; }
.rvb-currency-bar select { padding: 8px 14px; border: 2px solid #0a7c8c; border-radius: 8px; font-size: 0.95rem; color: #0d3b4f; background: white; cursor: pointer; }

/* Tabs */
.rvb-tabs { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 2px solid #e2e8f0; padding-bottom: 0; }
.rvb-tab { padding: 12px 24px; border: none; background: none; font-size: 0.95rem; font-weight: 600; color: #64748b; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all 0.2s; border-radius: 8px 8px 0 0; }
.rvb-tab:hover { color: #0a7c8c; background: #f0fdfd; }
.rvb-tab.active { color: #0a7c8c; border-bottom-color: #0a7c8c; background: #f0fdfd; }

/* Panel */
.rvb-panel { display: none; }
.rvb-panel.active { display: block; }

/* Grid */
.rvb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 768px) { .rvb-grid { grid-template-columns: 1fr; } }

/* Left */
.rvb-left h3 { color: #0d3b4f; margin: 0 0 20px; font-size: 1.2rem; }

/* Fields */
.rvb-field { margin-bottom: 20px; }
.rvb-field label { display: flex; justify-content: space-between; font-weight: 600; color: #334155; font-size: 0.9rem; margin-bottom: 8px; }
.rvb-field label span { color: #0a7c8c; font-weight: 700; }
.rvb-field input[type=range] { width: 100%; height: 6px; accent-color: #0a7c8c; cursor: pointer; margin-bottom: 8px; }
.rvb-field input[type=number] { width: 100%; padding: 10px 14px; border: 2px solid #e2e8f0; border-radius: 8px; font-size: 0.95rem; color: #1a2a3a; box-sizing: border-box; transition: border 0.2s; }
.rvb-field input[type=number]:focus { border-color: #0a7c8c; outline: none; }

/* Button */
.rvb-btn { width: 100%; padding: 14px; background: linear-gradient(135deg, #0d3b4f, #0a7c8c); color: white; border: none; border-radius: 10px; font-size: 1rem; font-weight: 700; cursor: pointer; margin-top: 8px; transition: opacity 0.2s; }
.rvb-btn:hover { opacity: 0.9; }

/* Result Card */
.rvb-result-card { background: linear-gradient(135deg, #0d3b4f, #0a7c8c); color: white; border-radius: 16px; padding: 28px; text-align: center; margin-bottom: 20px; }
.rvb-result-header { font-size: 0.9rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.rvb-result-big { font-size: 2.4rem; font-weight: 800; margin-bottom: 4px; }
.rvb-result-sub { font-size: 0.85rem; opacity: 0.8; }

/* Stats Grid */
.rvb-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rvb-stat { background: #f8fafc; border-radius: 10px; padding: 14px; border-left: 3px solid #0a7c8c; }
.rvb-stat-label { font-size: 0.8rem; color: #64748b; margin-bottom: 4px; }
.rvb-stat-val { font-size: 1.1rem; font-weight: 700; color: #0d3b4f; }

/* Verdict */
.rvb-verdict { background: linear-gradient(135deg, #0d3b4f, #0a7c8c); color: white; border-radius: 16px; padding: 36px; text-align: center; margin-bottom: 24px; }
.rvb-verdict-icon { font-size: 3rem; margin-bottom: 12px; }
.rvb-verdict-text { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.rvb-verdict-sub { font-size: 1rem; opacity: 0.85; }

/* Compare Grid */
.rvb-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
@media (max-width: 600px) { .rvb-compare-grid { grid-template-columns: 1fr; } }
.rvb-compare-card { background: white; border-radius: 12px; padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.rvb-compare-card h4 { margin: 0 0 16px; color: #0d3b4f; font-size: 1.1rem; }
.rvb-compare-card.rent { border-top: 4px solid #0a7c8c; }
.rvb-compare-card.buy { border-top: 4px solid #0d3b4f; }
.rvb-compare-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f1f5f9; font-size: 0.9rem; }
.rvb-compare-item:last-child { border-bottom: none; }
.rvb-green { color: #10b981; }
.rvb-red { color: #ef4444; }

/* Breakeven */
.rvb-breakeven { background: #f0fdfd; border: 2px solid #0a7c8c; border-radius: 12px; padding: 20px; margin-bottom: 24px; }
.rvb-breakeven h4 { margin: 0 0 12px; color: #0d3b4f; }
.rvb-be-display { font-size: 1.2rem; font-weight: 700; color: #0a7c8c; }

/* Year Table */
.rvb-year-table { margin-bottom: 24px; }
.rvb-year-table h4 { color: #0d3b4f; margin: 0 0 12px; }
.rvb-table-wrap { overflow-x: auto; border-radius: 10px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.rvb-year-table table { width: 100%; border-collapse: collapse; background: white; }
.rvb-year-table th { background: linear-gradient(135deg, #0d3b4f, #0a7c8c); color: white; padding: 12px 16px; font-size: 0.85rem; text-align: left; }
.rvb-year-table td { padding: 10px 16px; font-size: 0.9rem; border-bottom: 1px solid #f1f5f9; }
.rvb-year-table tr:hover td { background: #f8fafc; }
.rvb-better-rent { color: #0a7c8c; font-weight: 700; }
.rvb-better-buy { color: #0d3b4f; font-weight: 700; }

/* Export */
.rvb-export { display: flex; gap: 12px; flex-wrap: wrap; }
.rvb-exp-btn { padding: 10px 20px; border: 2px solid #0a7c8c; background: white; color: #0a7c8c; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.rvb-exp-btn:hover { background: #0a7c8c; color: white; }
