@tailwind base;
@tailwind components;
@tailwind utilities;

@layer components {
}

/* ================================================
   BASE STYLES & RESET
   ================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Calibri", "Arial", sans-serif;
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
  color: #333;
  overflow-x: hidden;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.dark body {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #e5e5e5;
}

/* ================================================
   TYPOGRAPHY
   ================================================ */

/* Font size standardization */
.header h1 {
  font-size: 16px;
  font-weight: normal;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.stat-value {
  font-size: 16px;
  font-weight: bold;
}

.status-bar,
.field-hint,
.stat-label {
  font-size: 12px;
}

.btn,
.form-control,
.data-table,
.nav-bar a,
.sidebar-item {
  font-size: 13px;
}

.amount {
  font-weight: 500;
  color: #28a745;
  font-size: 12px;
}

/* ================================================
   LAYOUT STRUCTURE
   ================================================ */

.main-container {
  display: flex;
  min-height: calc(100vh - 100px);
  flex-direction: row;
}

.content {
  flex: 1;
  overflow-y: auto;
}

/* ================================================
   HEADER & NAVIGATION
   ================================================ */

.header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, #4a7bc8 0%, #2e5aa0 100%);
  color: white;
  padding: 8px 16px;
  border-bottom: 2px solid #1a4480;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header menu {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.dark .header {
  background: linear-gradient(180deg, #2d3748 0%, #1a202c 100%);
  border-bottom: 2px solid #0d1117;
}

/* Navigation Bar */
.nav-bar {
  background: linear-gradient(180deg, #e8e8e8 0%, #d0d0d0 100%);
  border-bottom: 1px solid #999;
  padding: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.dark .nav-bar {
  background: linear-gradient(180deg, #374151 0%, #2d3748 100%);
  border-bottom: 1px solid #4a5568;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-bar ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  margin: 0;
  padding: 0;
}

.nav-bar li {
  flex: 1;
  text-align: center;
  border-right: 1px solid #999;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.dark .nav-bar li {
  border-right: 1px solid #4a5568;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-bar li:first-child {
  border-left: none;
}

.nav-bar a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: #333;
  font-weight: normal;
  transition: background 0.1s;
}

.dark .nav-bar a {
  color: #e5e5e5;
}

.nav-bar a:hover {
  background: linear-gradient(180deg, #f0f0f0 0%, #e0e0e0 100%);
}

.dark .nav-bar a:hover {
  background: linear-gradient(180deg, #4a5568 0%, #2d3748 100%);
}

.nav-bar a.active {
  background: linear-gradient(180deg, #d0d0d0 0%, #c0c0c0 100%);
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.dark .nav-bar a.active {
  background: linear-gradient(180deg, #2d3748 0%, #1a202c 100%);
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* ================================================
   SIDEBAR
   ================================================ */

.sidebar {
  width: 200px;
  background: linear-gradient(180deg, #f8f8f8 0%, #e8e8e8 100%);
  border-right: 1px solid #999;
  padding: 8px;
  box-shadow: inset -1px 0 2px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  transition:
    transform 0.3s ease,
    width 0.3s ease;
  position: relative;
}

.sidebar.desktop-collapsed {
  width: 0;
  padding: 0;
  overflow: hidden;
}

.dark .sidebar {
  background: linear-gradient(180deg, #374151 0%, #2d3748 100%);
  border-right: 1px solid #4a5568;
}

/* Sidebar Sections */
.sidebar-section {
  margin-bottom: 2px;
}

.section-header {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 1px 2px;
  margin: 0;
  user-select: none;
  background: transparent;
}

.section-header:hover {
  background: #e8e8e8;
}

.dark .section-header:hover {
  background: #4a5568;
}

.toggle-icon {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 2px;
  font-size: 10px;
  color: #333;
  text-align: center;
  line-height: 9px;
  flex-shrink: 0;
}

.dark .toggle-icon {
  color: #e5e5e5;
}

.section-content {
  margin-left: 6px;
  border-left: 1px dotted #999;
  padding-left: 6px;
  overflow: hidden;
  transition:
    max-height 0.2s ease-out,
    opacity 0.15s ease-out;
}

.dark .section-content {
  border-left-color: #4a5568;
}

.section-content.collapsed {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.section-content.expanded {
  max-height: 500px;
  opacity: 1;
}

.sidebar-item {
  display: block;
  padding: 4px 8px;
  margin: 2px 0;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.1s;
  text-decoration: none;
  color: #333;
}

.dark .sidebar-item {
  color: #e5e5e5;
}

.sidebar-item:hover {
  background: #e0e0e0;
}

.dark .sidebar-item:hover {
  background: #4a5568;
}

.sidebar-item.active {
  background: #4a7bc8;
  color: white;
}

.dark .sidebar-item.active {
  background: #63b3ed;
  color: #1a202c;
}

/* Sidebar Controls */
.sidebar-toggle-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 8px 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.sidebar-toggle-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.theme-toggle,
.user-auth-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hamburger-line {
  width: 16px;
  height: 2px;
  background: currentColor;
  margin: 1px 0;
  transition: 0.3s;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.show {
  opacity: 1;
}

/* ================================================
   FORM ELEMENTS
   ================================================ */

.form-control {
  padding: 4px;
  border: 1px solid #999;
  background: white;
  width: 100%;
  height: 32.5px;
}

.dark .form-control {
  border: 1px solid #4a5568;
  background: #2d3748;
  color: #e5e5e5;
}

.form-control:focus {
  outline: none;
  border-color: #4a7bc8;
  box-shadow: 0 0 3px rgba(74, 123, 200, 0.3);
}

.dark .form-control:focus {
  border-color: #63b3ed;
  box-shadow: 0 0 3px rgba(99, 179, 237, 0.3);
}

/* Checkboxes */
.form-control[type="checkbox"] {
  padding: 0;
  width: 13px;
  height: 13px;
  margin: 0;
  vertical-align: middle;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: white;
  border: 1px solid #999;
  border-radius: 0;
  position: relative;
  cursor: pointer;
}

.form-control[type="checkbox"]:checked {
  background: white;
  border: 1px solid #999;
}

.form-control[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: -1px;
  left: 1px;
  font-size: 13px;
  color: #333;
  font-weight: bold;
}

.dark .form-control[type="checkbox"] {
  background: #2d3748;
  border: 1px solid #4a5568;
}

.dark .form-control[type="checkbox"]:checked {
  background: #2d3748;
  border: 1px solid #4a5568;
}

.dark .form-control[type="checkbox"]:checked::after {
  color: #e5e5e5;
}

/* Form Structure */
.form-label {
  display: block;
  margin-bottom: 4px;
  font-weight: bold;
  font-size: 13px;
  color: #333;
}

.dark .form-label {
  color: #e5e5e5;
}

.form-group {
  margin-bottom: 12px;
}

.field-hint {
  color: #666;
  margin: 2px 0;
}

.dark .field-hint {
  color: #9ca3af;
}

.form-actions {
  margin-top: 16px;
  border-top: 1px solid #ddd;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.form-actions .btn {
  min-width: 120px;
  text-align: center;
}

.dark .form-actions {
  border-top: 1px solid #4a5568;
}

/* Special Form Elements */
.currency-selector-small {
  max-width: max-content;
  max-height: max-content;
  text-align: center;
  font-size: 12px;
  color: #666;
  background: #f0f0f0;
  border: 1px solid #999;
  padding: 0;
  margin: 0;
}

.currency-selector-small > option {
  padding: 0;
  margin: 0;
  max-width: max-content;
  max-height: max-content;
}

/* ================================================
   BUTTONS
   ================================================ */

.btn,
a.btn,
input,
textarea,
select,
option,
button {
  height: 32.5px;
}

.btn {
  padding: 4px 12px;
  border: 1px solid #999;
  background: linear-gradient(180deg, #f0f0f0 0%, #e0e0e0 100%);
  cursor: pointer;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  text-align: center;
}

.dark .btn {
  border: 1px solid #4a5568;
  background: linear-gradient(180deg, #374151 0%, #2d3748 100%);
  color: #e5e5e5;
}

.btn:hover {
  background: linear-gradient(180deg, #e8e8e8 0%, #d8d8d8 100%);
}

.dark .btn:hover {
  background: linear-gradient(180deg, #4a5568 0%, #374151 100%);
}

.btn:active {
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: linear-gradient(180deg, #4a7bc8 0%, #2e5aa0 100%);
  color: white;
  border-color: #1a4480;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #3a6bb8 0%, #1e4a90 100%);
  color: white;
}

.danger-btn {
  background: linear-gradient(180deg, #ff6666 0%, #cc0000 100%);
  color: white;
  border-color: #990000;
}

.danger-btn:hover {
  background: linear-gradient(180deg, #ff5555 0%, #bb0000 100%);
  color: white;
}

/* ================================================
   PANELS & WINDOWS
   ================================================ */

.panel {
  background: #f0f0f0;
  border: 1px solid #999;
  border-radius: 0;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.dark .panel {
  background: #2d3748;
  border-color: #4a5568;
}

.panel-header {
  background: linear-gradient(180deg, #ddd 0%, #bbb 100%);
  border-bottom: 1px solid #999;
  padding: 6px 12px;
  font-weight: bold;
  font-size: 13px;
  color: #333;
}

.dark .panel-header {
  background: linear-gradient(180deg, #374151 0%, #2d3748 100%);
  border-bottom: 1px solid #4a5568;
  color: #e5e5e5;
}

.panel-content {
  padding: 8px;
}

.sub-panel {
  background: #f8f8f8;
  border: 1px solid #999;
  border-radius: 0;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.dark .sub-panel {
  background: #374151;
  border-color: #4a5568;
}

/* Profile Panel */
.profile-panel {
  background: #f0f0f0;
  border: 1px solid #999;
  border-radius: 0;
  margin: 16px auto;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.dark .profile-panel {
  background: #2d3748;
  border-color: #4a5568;
}

.profile-description {
  margin-bottom: 16px;
  font-size: 13px;
  color: #666;
}

.dark .profile-description {
  color: #9ca3af;
}

/* ================================================
   DATA TABLES
   ================================================ */

.data-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #999;
  background: white;
}

.dark .data-table {
  background: #2d3748;
  border-color: #4a5568;
}

.data-table th {
  background: linear-gradient(180deg, #e8e8e8 0%, #d0d0d0 100%);
  border: 1px solid #999;
  padding: 6px 8px;
  text-align: left;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
}

.dark .data-table th {
  background: linear-gradient(180deg, #374151 0%, #2d3748 100%);
  border-color: #4a5568;
  color: #e5e5e5;
}

.data-table td {
  border: 1px solid #ddd;
  padding: 6px;
  white-space: nowrap;
}

.dark .data-table td {
  border-color: #4a5568;
  color: #e5e5e5;
}

.data-table tr:nth-child(even) {
  background: #f8f8f8;
}

.dark .data-table tr:nth-child(even) {
  background: #374151;
}

.data-table tr:hover {
  background: #e8f4ff;
}

.dark .data-table tr:hover {
  background: #4a5568;
}

/* ================================================
   CHARTS & VISUALIZATIONS
   ================================================ */

.chart-placeholder {
  height: 200px;
  background: white;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  overflow: hidden;
}

.dark .chart-placeholder {
  background: #2d3748;
  border-color: #4a5568;
  color: #9ca3af;
}

.chart-empty-state {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark .chart-empty-state {
  background: linear-gradient(135deg, #374151 0%, #4a5568 100%);
  border-color: #6b7280;
}

/* Enhanced Chart Containers */
.enhanced-chart-container {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow:
    inset 1px 1px 3px rgba(0, 0, 0, 0.05),
    2px 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.enhanced-chart-container:hover {
  box-shadow:
    inset 1px 1px 3px rgba(0, 0, 0, 0.05),
    3px 3px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.dark .enhanced-chart-container {
  background: linear-gradient(135deg, #2d3748 0%, #374151 100%);
  border-color: #4a5568;
}

.enhanced-breakdown {
  transition: all 0.2s ease;
}

.enhanced-breakdown:hover {
  transform: translateY(-1px);
  box-shadow:
    2px 2px 6px rgba(0, 0, 0, 0.08),
    4px 4px 12px rgba(0, 0, 0, 0.12);
}

.enhanced-net-worth-chart,
.enhanced-balance-chart {
  position: relative;
}

.enhanced-net-worth-chart::before,
.enhanced-balance-chart::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(74, 123, 200, 0.02) 0%,
    rgba(46, 90, 160, 0.02) 100%
  );
  pointer-events: none;
  border-radius: 4px;
}

.dark .enhanced-net-worth-chart,
.dark .enhanced-balance-chart {
  background: linear-gradient(135deg, #2d3748 0%, #374151 100%) !important;
  border-color: #4a5568 !important;
}

.allocation-item:hover {
  background: rgba(74, 123, 200, 0.05);
  border-radius: 2px;
}

.dark .allocation-item:hover {
  background: rgba(99, 179, 237, 0.1);
}

/* ================================================
   STAT CARDS
   ================================================ */

.stat-card {
  background: white;
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.dark .stat-card {
  background: #2d3748;
  border-color: #4a5568;
}

.stat-value {
  color: #2e5aa0;
  margin-bottom: 4px;
}

.stat-label {
  color: #666;
  text-transform: uppercase;
}

.dark .stat-label {
  color: #9ca3af;
}

.stats-card {
  background: #f8f8f8;
  border: 1px solid #ddd;
  padding: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.dark .stats-card {
  background: #374151;
  border-color: #4a5568;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stats-label {
  color: #666;
}

.dark .stats-label {
  color: inherit;
}

/* ================================================
   PAGINATION
   ================================================ */

.pagy-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  margin-bottom: 4px;
}

.pagy-nav a,
.pagy-nav span {
  display: inline-block;
  padding: 8px;
  border: 1px solid #999;
  background: linear-gradient(180deg, #f0f0f0 0%, #e0e0e0 100%);
  text-decoration: none;
  color: #333;
  min-width: 24px;
  text-align: center;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.dark .pagy-nav a,
.dark .pagy-nav span {
  border-color: #4a5568;
  background: linear-gradient(180deg, #374151 0%, #2d3748 100%);
  color: #e5e5e5;
}

.pagy-nav a:hover {
  background: linear-gradient(180deg, #e8e8e8 0%, #d8d8d8 100%);
}

.dark .pagy-nav a:hover {
  background: linear-gradient(180deg, #4a5568 0%, #374151 100%);
}

.pagy-nav .current {
  background: linear-gradient(180deg, #4a7bc8 0%, #2e5aa0 100%);
  color: white;
  border-color: #1a4480;
}

.dark .pagy-nav .current {
  background: linear-gradient(180deg, #63b3ed 0%, #4a7bc8 100%);
  color: #1a202c;
}

.pagy-nav .disabled {
  background: linear-gradient(180deg, #f8f8f8 0%, #e8e8e8 100%);
  color: #999;
  cursor: not-allowed;
}

.dark .pagy-nav .disabled {
  background: linear-gradient(180deg, #2d3748 0%, #1a202c 100%);
  color: #4a5568;
}

/* ================================================
   TOOLBAR
   ================================================ */

.toolbar {
  background: linear-gradient(180deg, #f8f8f8 0%, #e8e8e8 100%);
  border-bottom: 1px solid #999;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dark .toolbar {
  background: linear-gradient(180deg, #374151 0%, #2d3748 100%);
  border-bottom: 1px solid #4a5568;
}

/* ================================================
   STATUS BAR
   ================================================ */

.status-bar {
  background: linear-gradient(180deg, #e8e8e8 0%, #d0d0d0 100%);
  border-top: 1px solid #999;
  padding: 8px 12px;
  color: #666;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.dark .status-bar {
  background: linear-gradient(180deg, #374151 0%, #2d3748 100%);
  border-top: 1px solid #4a5568;
  color: #9ca3af;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ================================================
   ALERT MESSAGES
   ================================================ */

.alert-success {
  background: linear-gradient(180deg, #e8f5e8 0%, #d0f0d0 100%);
  border: 1px solid #008800;
  color: #006600;
  padding: 8px 12px;
}

.alert-error {
  background: linear-gradient(180deg, #f5e8e8 0%, #f0d0d0 100%);
  border: 1px solid #cc0000;
  color: #990000;
  padding: 8px 12px;
}

.alert-warning {
  background: linear-gradient(180deg, #fff5e8 0%, #ffefd0 100%);
  border: 1px solid #ff6600;
  color: #cc4400;
  padding: 8px 12px;
}

.alert-info {
  background: linear-gradient(180deg, #e8f0ff 0%, #d0e0ff 100%);
  border: 1px solid #0066cc;
  color: #004499;
  padding: 8px 12px;
}

/* Error Panels */
.error-panel {
  background: #ffe0e0;
  border: 1px solid #cc0000;
  border-radius: 0;
  margin-bottom: 16px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-panel-header {
  background: linear-gradient(180deg, #ffcccc 0%, #ffaaaa 100%);
  border-bottom: 1px solid #cc0000;
  padding: 6px 12px;
  font-weight: bold;
  color: #cc0000;
}

.error-list {
  margin: 0;
  padding-left: 16px;
  color: #cc0000;
}

.warning-panel {
  background: #fffacd;
  border: 1px solid #daa520;
  border-radius: 0;
  margin-bottom: 16px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.warning-text {
  margin: 0;
  color: #b8860b;
}

.danger-panel {
  background: #f0f0f0;
  border: 1px solid #cc0000;
  border-radius: 0;
  margin: 16px auto;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.dark .danger-panel {
  background: #2d3748;
  border-color: #cc0000;
}

.danger-panel-header {
  background: linear-gradient(180deg, #ffcccc 0%, #ffaaaa 100%);
  border-bottom: 1px solid #cc0000;
  padding: 6px 12px;
  font-weight: bold;
  color: #cc0000;
}

.danger-description {
  margin-bottom: 12px;
  color: #666;
}

.dark .danger-description {
  color: #9ca3af;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

/* Desktop styles */
@media (min-width: 769px) {
  .sidebar-toggle-btn {
    display: flex !important;
  }

  .content {
    padding: 16px;
  }

  .panel {
    margin-bottom: 16px;
  }

  .responsive-budget-grid {
    margin-bottom: 16px;
    gap: 16px;
  }

  .last {
    margin-bottom: 32px;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    transform: translateX(-100%);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
    width: 200px !important;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar.desktop-collapsed {
    width: 200px !important;
    padding: 8px !important;
    overflow-y: auto !important;
  }

  .main-container {
    flex-direction: column;
  }

  .sidebar-toggle-btn {
    display: flex;
    opacity: 1 !important;
  }

  .sidebar-overlay.show {
    display: block;
  }

  .responsive-budget-grid {
    grid-template-columns: 1fr !important;
  }

  .responsive-budget-grid > div {
    min-height: 300px !important;
    margin-bottom: 0 !important;
  }

  .last {
    margin-bottom: 32px;
  }
}
/* Cryptocurrency currency display styles */
.crypto-balance {
  @apply leading-tight;
}

.crypto-balance .currency-symbol {
  @apply text-orange-500;
}

.crypto-balance .balance-amount {
  @apply flex items-baseline gap-1;
}

.crypto-balance .symbol {
  @apply uppercase tracking-wider font-medium;
}

.crypto-balance .fiat-value {
  @apply space-y-1;
}

.crypto-balance .total-value {
  @apply text-green-600;
}

.crypto-balance .unit-price {
  @apply italic;
}

/* Bitcoin specific styling */
.crypto-balance[data-symbol="BTC"] .currency-symbol {
  @apply text-yellow-500;
}

/* Ethereum specific styling */
.crypto-balance[data-symbol="ETH"] .currency-symbol {
  @apply text-indigo-500;
}

/* General crypto table styling */
.crypto-table .balance-cell {
  @apply font-mono;
}

.crypto-table .value-cell {
  @apply text-right;
}

.crypto-table .actions-cell {
  @apply text-center;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
