/* Global CSS Variables - matching landing page aesthetic */
:root {
  --fc-primary: #1e3a5f;
  --fc-primary-light: #2d5a8a;
  --fc-primary-dark: #0f172a;
  --fc-accent: #f97316;
  --fc-accent-light: #fb923c;
  --fc-accent-dark: #ea580c;
  --fc-dark: #0f172a;
  --fc-light: #f8fafc;
  --fc-muted: #64748b;
  --fc-success: #10b981;
  --fc-danger: #ef4444;
  --fc-warning: #f59e0b;
  --fc-info: #0ea5e9;
  --fc-gradient: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
  --fc-gradient-accent: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  --fc-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --fc-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --fc-radius: 12px;
  --fc-radius-lg: 20px;
}

/* Import DM Sans for headings */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* Base styles */
body {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--fc-light);
  color: var(--fc-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fc-dark);
}

/* Alert styles */
.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

/* Container */
.container-fluid {
  max-width: 90%;
}

/* Checkbox */
input[type="checkbox"].checkbox-big {
  transform: scale(2);
}

/* Navbar */
.navbar-brand {
  font-size: 2rem;
  font-weight: bold;
}

/* Status badges */
.status-ok {
  display: inline-block;
  padding: 0.25em 0.75em;
  border-radius: 1em;
  font-size: 0.75em;
  font-weight: bold;
  text-align: center;
  color: var(--fc-success);
  background-color: rgba(16, 185, 129, 0.1);
}

.status-error {
  display: inline-block;
  padding: 0.25em 0.75em;
  border-radius: 1em;
  font-size: 0.75em;
  font-weight: bold;
  text-align: center;
  color: var(--fc-danger);
  background-color: rgba(239, 68, 68, 0.1);
}

.status-warning {
  display: inline-block;
  padding: 0.25em 0.75em;
  border-radius: 1em;
  font-size: 0.75em;
  font-weight: bold;
  text-align: center;
  color: var(--fc-warning);
  background-color: rgba(245, 158, 11, 0.1);
}

.status-info {
  display: inline-block;
  padding: 0.25em 0.75em;
  border-radius: 1em;
  font-size: 0.75em;
  font-weight: bold;
  text-align: center;
  color: var(--fc-info);
  background-color: rgba(14, 165, 233, 0.1);
}

/* Navigation active state */
.nav-link.active {
  font-weight: bold;
}

/* Footer */
.footer {
  margin-top: auto;
}

/* Wrapper */
.wrapper {
  width: 100%;
  max-width: 1200px;
  max-height: auto;
  margin: 0 auto;
}

/* Video wrapper */
.videoWrapper {
  width: 100%;
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
}

iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Page wrapper */
.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hover underline */
.hover-underline:hover {
  text-decoration: underline !important;
}

/* Logo styles */
.logo-header svg {
  height: 40px !important;
  margin: 8px;
  width: auto !important;
  max-width: none !important;
}

.logo-hero svg {
  height: 70px !important;
  margin-bottom: 30px;
  width: auto !important;
  max-width: none !important;
}

/* Table styles */
.table {
  border-collapse: separate;
  border-spacing: 0;
  border: 2px solid #e9ecef;
  border-radius: var(--fc-radius);
  overflow: hidden;
}

/* ===== NEW UNIFIED STYLES ===== */

/* Custom navbar */
.fc-navbar {
  background: var(--fc-gradient) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

.fc-navbar .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  padding: 0.75rem 1rem !important;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.fc-navbar .nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
}

.fc-navbar .nav-link.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.15);
}

.fc-navbar .dropdown-menu {
  border: none;
  box-shadow: var(--fc-shadow-lg);
  border-radius: var(--fc-radius);
  padding: 0.5rem;
}

.fc-navbar .dropdown-item {
  border-radius: 8px;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
}

.fc-navbar .dropdown-item:hover {
  background: var(--fc-light);
}

/* Footer */
.fc-footer {
  background: var(--fc-light);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.5rem 0;
  margin-top: auto;
}

.fc-footer a {
  color: var(--fc-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.fc-footer a:hover {
  color: var(--fc-primary);
}

.fc-footer .copyright {
  color: var(--fc-muted);
  font-size: 0.9rem;
}

/* Cards */
.fc-card {
  background: #fff;
  border-radius: var(--fc-radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--fc-shadow);
  transition: all 0.3s ease;
  overflow: visible;
}

.fc-card:hover {
  box-shadow: var(--fc-shadow-lg);
  transform: translateY(-2px);
}

.fc-card-header {
  background: var(--fc-light);
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--fc-radius-lg) var(--fc-radius-lg) 0 0;
}

.fc-card .table {
  border-radius: var(--fc-radius-lg);
}

.fc-card-body {
  overflow: visible;
}

.fc-card .table-hover {
  overflow: visible;
}

.fc-card tbody {
  overflow: visible;
}

.fc-card-body {
  padding: 1.5rem;
}

.fc-card-footer {
  background: var(--fc-light);
  padding: 0.75rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 0 0 var(--fc-radius-lg) var(--fc-radius-lg);
}

/* Dashboard stat cards */
.fc-stat-card {
  background: #fff;
  border-radius: var(--fc-radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--fc-shadow);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.fc-stat-card:hover {
  box-shadow: var(--fc-shadow-lg);
}

.fc-stat-card .stat-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--fc-dark);
  margin-bottom: 0.75rem;
}

.fc-stat-card .stat-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--fc-primary);
  line-height: 1;
}

.fc-stat-card .stat-number-secondary {
  font-family: 'DM Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--fc-muted);
  line-height: 1;
}

.fc-stat-card .stat-label {
  font-size: 0.9rem;
  color: var(--fc-muted);
}

/* Tutorial step cards */
.fc-step-card {
  background: #fff;
  border-radius: var(--fc-radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--fc-shadow);
  padding: 2rem;
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
}

.fc-step-card:hover {
  box-shadow: var(--fc-shadow-lg);
  transform: translateY(-4px);
}

.fc-step-card.completed {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.1) 100%);
  border-color: rgba(16, 185, 129, 0.2);
}

.fc-step-card.inactive {
  opacity: 0.5;
  pointer-events: none;
}

.fc-step-card .step-number {
  width: 40px;
  height: 40px;
  background: var(--fc-gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.fc-step-card.completed .step-number {
  background: var(--fc-success);
}

.fc-step-card .step-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fc-dark);
  margin-bottom: 0.75rem;
}

.fc-step-card .step-description {
  color: var(--fc-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.fc-step-card .checkmark {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  background: var(--fc-success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Buttons */
.btn-fc-primary {
  background: var(--fc-gradient-accent);
  border: none;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-fc-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
  color: #fff;
}

.btn-fc-secondary {
  background: var(--fc-gradient);
  border: none;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(30, 58, 95, 0.2);
}

.btn-fc-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 58, 95, 0.3);
  color: #fff;
}

.btn-fc-secondary:disabled,
.btn-fc-secondary.disabled {
  background: #94a3b8;
  box-shadow: none;
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-fc-primary:disabled,
.btn-fc-primary.disabled {
  background: #d1d5db;
  box-shadow: none;
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-fc-danger {
  background: transparent;
  border: 2px solid var(--fc-danger);
  color: var(--fc-danger);
  padding: 0.75rem 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-fc-danger:hover {
  background: var(--fc-danger);
  color: #fff;
}

.btn-fc-danger:disabled,
.btn-fc-danger.disabled {
  border-color: #d1d5db;
  color: #9ca3af;
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-fc-outline {
  background: transparent;
  border: 2px solid var(--fc-primary);
  color: var(--fc-primary);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-fc-outline:hover {
  background: var(--fc-primary);
  color: #fff;
}

/* Override Bootstrap primary */
.bg-primary {
  background: var(--fc-gradient) !important;
}

.text-primary {
  color: var(--fc-primary) !important;
}

.btn-primary {
  background: var(--fc-gradient-accent);
  border: none;
  box-shadow: 0 2px 10px rgba(249, 115, 22, 0.2);
}

.btn-primary:hover {
  background: var(--fc-accent-dark);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-primary:focus,
.btn-primary:active {
  background: var(--fc-accent-dark) !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25) !important;
}

/* Section headers */
.fc-section-header {
  margin-bottom: 2rem;
}

.fc-section-badge {
  display: inline-block;
  background: rgba(249, 115, 22, 0.1);
  color: var(--fc-accent);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.fc-section-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--fc-dark);
  margin-bottom: 0.5rem;
}

.fc-section-subtitle {
  color: var(--fc-muted);
  font-size: 1rem;
}

/* Page title */
.fc-page-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--fc-primary);
  margin-bottom: 1.5rem;
}

/* Forms */
.form-control:focus,
.form-select:focus {
  border-color: var(--fc-accent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

/* Alerts improvements */
.alert {
  border: none;
  border-radius: var(--fc-radius);
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #991b1b;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #92400e;
}

.alert-info {
  background: rgba(14, 165, 233, 0.1);
  color: #075985;
}

/* Modal improvements */
.modal-content {
  border: none;
  border-radius: var(--fc-radius-lg);
  box-shadow: var(--fc-shadow-lg);
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.25rem 1.5rem;
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 1.5rem;
}

/* Table improvements */
.table thead th {
  background: var(--fc-light);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--fc-dark);
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.table tbody tr:hover {
  background: rgba(249, 115, 22, 0.02);
}

.fc-card .table tbody tr:last-child td:first-child {
  border-bottom-left-radius: var(--fc-radius-lg);
}

.fc-card .table tbody tr:last-child td:last-child {
  border-bottom-right-radius: var(--fc-radius-lg);
}

/* Spinner with brand color */
.spinner-border.text-primary {
  color: var(--fc-accent) !important;
}

/* Links */
a {
  color: var(--fc-primary);
}

a:hover {
  color: var(--fc-accent);
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
}

.breadcrumb-item a {
  color: var(--fc-muted);
}

.breadcrumb-item.active {
  color: var(--fc-dark);
}

/* Empty states */
.fc-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--fc-muted);
}

.fc-empty-state i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.fc-empty-state h3 {
  color: var(--fc-dark);
  margin-bottom: 0.5rem;
}

/* ===== SHARED COMPONENT STYLES ===== */

/* Avatar */
.fc-avatar {
  width: 40px;
  height: 40px;
  background: var(--fc-gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.fc-avatar-sm {
  width: 40px;
  height: 40px;
  background: var(--fc-gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Icon box */
.fc-icon-box {
  width: 48px;
  height: 48px;
  background: var(--fc-gradient);
  color: #fff;
  border-radius: var(--fc-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.fc-icon-box.danger {
  background: var(--fc-danger);
}

/* Icon circle (for confirmation pages, empty states) */
.fc-icon-circle {
  width: 80px;
  height: 80px;
  background: rgba(30, 58, 95, 0.1);
  color: var(--fc-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto;
}

.fc-icon-circle--muted {
  background: rgba(100, 116, 139, 0.1);
  color: var(--fc-muted);
}

.fc-icon-circle--danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--fc-danger);
}

.fc-icon-circle--success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--fc-success);
}

/* Highlighted card */
.fc-card-highlight {
  background: var(--fc-gradient);
  color: #fff;
}

.fc-card-highlight .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.fc-card-highlight-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
}

.fc-card-highlight-danger .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Total amount display */
.fc-total-amount {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Details grid (for invoice/credit note details) */
.fc-details-grid {
  display: flex;
  flex-direction: column;
}

.fc-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.fc-detail-row:last-child {
  border-bottom: none;
}

.fc-detail-row:hover {
  background: rgba(249, 115, 22, 0.02);
}

.fc-detail-highlight {
  background: rgba(249, 115, 22, 0.05);
}

.fc-detail-label {
  color: var(--fc-muted);
  font-weight: 500;
}

.fc-detail-value {
  color: var(--fc-dark);
  font-weight: 500;
  text-align: right;
}

@media (max-width: 768px) {
  .fc-detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .fc-detail-value {
    text-align: left;
  }
}

/* CAE badge */
.fc-cae-badge {
  background: rgba(16, 185, 129, 0.1);
  color: var(--fc-success);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-family: 'DM Sans', monospace;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Terapia list item */
.fc-terapia-item {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: background 0.2s ease;
}

.fc-terapia-item:last-child {
  border-bottom: none;
}

.fc-terapia-item:hover {
  background: var(--fc-light);
}

/* Days selection (for patient form) */
.fc-days-selection {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background: var(--fc-light);
  border-radius: var(--fc-radius);
  padding: 1rem;
  gap: 0.5rem;
}

.fc-day-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  min-width: 60px;
}

.fc-day-option .form-check {
  padding-left: 0;
}

.fc-day-option .form-check-label {
  font-size: 0.85rem;
}

.fc-day-option .form-check-input {
  margin-left: 0;
  margin-top: 0.5rem;
}

/* ===== TOAST NOTIFICATIONS ===== */

.fc-toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
  pointer-events: none;
}

.fc-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: var(--fc-radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 2px 10px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--fc-info);
  pointer-events: auto;
  animation: fc-toast-slide-in 0.3s ease-out forwards;
  opacity: 0;
  transform: translateX(100%);
}

.fc-toast-hide {
  animation: fc-toast-slide-out 0.3s ease-in forwards;
}

@keyframes fc-toast-slide-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fc-toast-slide-out {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

.fc-toast-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.fc-toast-content {
  flex: 1;
  font-size: 0.95rem;
  color: var(--fc-dark);
  line-height: 1.4;
}

.fc-toast-close {
  background: none;
  border: none;
  color: var(--fc-muted);
  cursor: pointer;
  padding: 0;
  font-size: 0.9rem;
  opacity: 0.6;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.fc-toast-close:hover {
  opacity: 1;
}

/* Toast variants */
.fc-toast-success {
  border-left-color: var(--fc-success);
}

.fc-toast-success .fc-toast-icon {
  color: var(--fc-success);
}

.fc-toast-error,
.fc-toast-danger {
  border-left-color: var(--fc-danger);
}

.fc-toast-error .fc-toast-icon,
.fc-toast-danger .fc-toast-icon {
  color: var(--fc-danger);
}

.fc-toast-warning {
  border-left-color: var(--fc-warning);
}

.fc-toast-warning .fc-toast-icon {
  color: var(--fc-warning);
}

.fc-toast-info {
  border-left-color: var(--fc-info);
}

.fc-toast-info .fc-toast-icon {
  color: var(--fc-info);
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .fc-toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }

  .fc-toast {
    transform: translateY(100%);
  }

  @keyframes fc-toast-slide-in {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fc-toast-slide-out {
    to {
      opacity: 0;
      transform: translateY(100%);
    }
  }
}

/* ===== VALOR DE SESIÓN COMPONENTS ===== */

/* Valor card (list page) */
.fc-valor-card {
  background: #fff;
  border-radius: var(--fc-radius);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1.25rem;
  transition: all 0.2s ease;
  position: relative;
}

.fc-valor-card:hover {
  box-shadow: var(--fc-shadow);
  border-color: rgba(0, 0, 0, 0.12);
}

.fc-valor-card.system-managed {
  border-color: rgba(14, 165, 233, 0.3);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.03) 0%, rgba(14, 165, 233, 0.06) 100%);
}

.fc-valor-card .valor-amount {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fc-primary);
  letter-spacing: -0.02em;
}

.fc-valor-card .valor-name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--fc-dark);
}

.fc-valor-card .valor-meta {
  font-size: 0.85rem;
  color: var(--fc-muted);
}


.fc-valor-card .valor-actions {
  opacity: 0;
  transition: opacity 0.2s;
}

.fc-valor-card:hover .valor-actions {
  opacity: 1;
}

/* Pacientes count pill */
.pacientes-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(30, 58, 95, 0.08);
  color: var(--fc-primary);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Valor select in patient form (radio buttons) */
.fc-valor-select-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--fc-radius);
  cursor: pointer;
  transition: all 0.2s ease;
}

.fc-valor-select-option:hover {
  border-color: var(--fc-accent);
  background: rgba(249, 115, 22, 0.02);
}

.fc-valor-select-option.selected {
  border-color: var(--fc-accent);
  background: rgba(249, 115, 22, 0.05);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.fc-valor-select-option .radio-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.fc-valor-select-option.selected .radio-dot {
  border-color: var(--fc-accent);
}

.fc-valor-select-option.selected .radio-dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fc-accent);
}

/* Invoice valor badge (pill) */
.fc-invoice-valor {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(30, 58, 95, 0.06);
  color: var(--fc-primary);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}
