@layer components {
  @media only screen and (min-width: 1200px) {
    .movements-container {
      display: flex;
      flex-flow: row;
      gap: 24px;
      align-items: flex-start;
    }
  }

  @media only screen and (max-width: 1199px) {
    .movements-container {
      display: flex;
      flex-flow: column;
      gap: 24px;
    }
  }

  .movements-content {
    flex: 1;
    min-width: 0;
  }

  .movements-total {
    width: 380px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 26px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  }

  @media only screen and (max-width: 1199px) {
    .movements-total {
      width: 100%;
    }
  }

  .movement-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 26px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  }

  .movement-table-date {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 14px;
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid #f1f5f9;
  }

  .movement-table-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.15s ease;
    margin-bottom: 4px;
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
  }

  .movement-table-content:hover {
    background-color: #f8fafc;
    border-color: #e2e8f0;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  }

  .movement-table-content div small {
    color: #64748b;
    font-size: 11px;
    margin-left: 6px;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
  }

  .highlight-orange { color: #ea580c; font-weight: 600; }
  .highlight-red { color: #dc2626; font-weight: 600; }
  .highlight-green { color: #16a34a; font-weight: 600; }
  .highlight-blue { color: #2563eb; font-weight: 600; }

  .movement-recurring-content,
  div.movement-recurring-content {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
  }

  .movement-recurring-content a,
  div.movement-recurring-content a {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    transition: all 0.15s ease;
  }

  .movement-recurring-content a.current,
  .movement-recurring-content a:hover,
  div.movement-recurring-content a.current,
  div.movement-recurring-content a:hover {
    font-weight: 600;
    background-color: #eef2ff;
    border-color: #c7d2fe;
    color: #4338ca;
  }
}