.diore-budget-overview-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
}

  .diore-budget-overview-modal.is-open {
    display: flex;
  }

  .diore-budget-overview-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(31, 41, 55, 0.55);
  }

  .diore-budget-overview-modal-panel {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: auto;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  }

  .diore-budget-overview-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e6e9ed;
  }

    .diore-budget-overview-modal-header h2 {
      margin: 0;
      font-size: 17px;
      font-weight: 600;
      color: var(--primary-color);
    }

  .diore-budget-overview-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #8893a0;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
  }

    .diore-budget-overview-modal-close:hover {
      background: #f0f1f4;
      color: #3f4f5f;
    }

    .diore-budget-overview-modal-close:focus-visible {
      outline: 2px solid var(--primary-color);
      outline-offset: 2px;
    }

  .diore-budget-overview-modal-body {
    padding: 20px;
  }

  .diore-budget-overview-modal-body .diore-budget-overview-option {
    display: flex;
    margin: 0 0 16px;
  }

    .diore-budget-overview-modal-body .diore-budget-overview-option:last-of-type {
      margin-bottom: 0;
    }

  .diore-budget-overview-year {
    margin: 16px 0 0 24px;
  }

    .diore-budget-overview-year[hidden] {
      display: none;
    }

    .diore-budget-overview-year label {
      display: block;
      margin-bottom: 6px;
      color: #3f4f5f;
      font-size: 13px;
    }

    .diore-budget-overview-year input {
      width: 130px;
      padding: 9px 12px;
      border: 1px solid #cdd4db;
      border-radius: 4px;
      font-size: 14px;
    }

      .diore-budget-overview-year input:focus {
        border-color: var(--primary-color);
        outline: none;
        box-shadow: 0 0 0 3px rgba(40, 56, 114, 0.12);
      }

  .diore-budget-overview-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid #e6e9ed;
  }

  .diore-budget-overview-modal .diore-budget-overview-cancel,
  .diore-budget-overview-modal .diore-budget-overview-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 42px;
    padding: 0 22px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  }

  .diore-budget-overview-modal .diore-budget-overview-submit {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #fff;
  }

    .diore-budget-overview-modal .diore-budget-overview-submit:hover {
      background: #e43d51;
      border-color: #e43d51;
    }

  .diore-budget-overview-modal .diore-budget-overview-cancel {
    background: #fff;
    border: 1px solid #cdd4db;
    color: #3f4f5f;
  }

    .diore-budget-overview-modal .diore-budget-overview-cancel:hover {
      border-color: #8893a0;
      background: #f5f6f8;
    }

  .diore-budget-overview-modal .diore-budget-overview-cancel:focus-visible,
  .diore-budget-overview-modal .diore-budget-overview-submit:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
  }
