/*
Theme Name: Dólar Blue Bolivia
Theme URI: https://markerbrand.com
Description: Child theme de Hello Elementor optimizado para sitios de cotizaciones de dólar paralelo (USDT/BOB) en Bolivia. Replica la estructura y funcionalidad de dolarbluebolivia.click con enfoque en rendimiento (<1s load), diseño limpio tipo finance, y fácil mantenimiento. Ideal para proyectos informativos o de fintech en Bolivia.
Author: Marker Brand
Author URI: https://markerbrand.com
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dolar-blue-bolivia
*/

/* ============================================
   BASE STYLES - Clean Finance Aesthetic
   ============================================ */

:root {
  --primary-blue: #1e40af;
  --accent-blue: #2563eb;
  --success-green: #16a34a;
  --danger-red: #dc2626;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --radius: 12px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

/* Header / Navbar */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.site-header .site-title {
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 1.5rem;
}

/* Hero / Intro Section */
.hero-section {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
}

/* Cards & Sections */
.section-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-blue);
}

/* Tables - Clean & Readable */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

th {
  background: #f1f5f9;
  color: var(--text-dark);
  font-weight: 600;
  text-align: left;
  padding: 0.875rem 1rem;
  border-bottom: 2px solid var(--primary-blue);
}

td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

tr:hover {
  background: #f8fafc;
}

.rate-buy {
  color: var(--success-green);
  font-weight: 600;
}

.rate-sell {
  color: var(--danger-red);
  font-weight: 600;
}

.verified-badge {
  background: #dcfce7;
  color: #166534;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-blue);
  color: white;
}

.btn-primary:hover {
  background: #1e3a8a;
  transform: translateY(-1px);
}

.btn-success {
  background: var(--success-green);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: white;
}

/* Currency Converter */
.converter-box {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
}

.converter-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.converter-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.conversion-result {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 1rem 0;
}

/* Trend Chart Placeholder */
.chart-placeholder {
  background: #f1f5f9;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 500;
}

/* Platform Cards */
.platform-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.platform-card h4 {
  margin: 0 0 0.5rem;
  color: var(--primary-blue);
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3rem 0 1.5rem;
  font-size: 0.9rem;
}

.site-footer a {
  color: #cbd5e1;
}

.site-footer a:hover {
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .section-card {
    padding: 1.25rem;
  }
  
  table {
    font-size: 0.85rem;
  }
  
  th, td {
    padding: 0.6rem 0.75rem;
  }
}

/* Performance & Accessibility */
img {
  max-width: 100%;
  height: auto;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 2px;
}