.fiscal-years-page {
  .page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;

    .header-text {
      h1 { margin: 0; font-size: 1.25rem; font-weight: 600; color: var(--color-brand); }
      p { margin: 0.25rem 0 0; color: var(--color-text-secondary); font-size: 0.8125rem; }
    }
  }

  .loading-state,
  .error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    gap: 1rem;
    background: var(--color-surface);
    border-radius: 10px;

    i { font-size: 2rem; color: var(--color-danger); }
    p { color: var(--color-text-secondary); }
  }

  .table-card {
    background: var(--color-surface);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);

    :host ::ng-deep {
      .p-datatable {
        .p-datatable-header-cell { background: var(--color-surface-muted); font-weight: 600; color: var(--color-text-primary); white-space: nowrap; }
        .p-datatable-row-cell { vertical-align: middle; }
      }
      .p-paginator { border-top: 1px solid var(--color-surface-border); }
    }

    .action-buttons { display: flex; gap: 0.25rem; }
    .text-center { text-align: center; color: var(--color-text-muted); padding: 2rem !important; }
  }
}

.dialog-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.5rem;

  .form-field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;

    label { font-weight: 600; font-size: 0.8125rem; color: var(--color-text-primary); }
    input { width: 100%; }
    .p-error { font-size: 0.75rem; }
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}
